rust/tests/ui/privacy/pub-use-xcrate.rs
2023-01-11 09:32:08 +00:00

16 lines
235 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
};
}