rust/tests/ui/privacy/pub-use-xcrate.rs
2024-02-16 20:02:50 +00:00

15 lines
239 B
Rust

//@ run-pass
//@ aux-build:pub_use_xcrate1.rs
//@ aux-build:pub_use_xcrate2.rs
//@ pretty-expanded FIXME #23616
extern crate pub_use_xcrate2;
use pub_use_xcrate2::Foo;
pub fn main() {
let _foo: Foo = Foo {
name: 0
};
}