]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/privacy/privacy3.rs
1 #![feature(start, no_core)]
2 #![no_core] // makes debugging this test *a lot* easier (during resolve)
4 // Test to make sure that private items imported through globs remain private
19 //~^ ERROR unresolved import `bar::gpriv` [E0432]
20 //~| no `gpriv` in `bar`
22 // This should pass because the compiler will insert a fake name binding
27 #[start] fn main(_: isize, _: *const *const u8) -> isize { 3 }