]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0365.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / error-codes / E0365.rs
1 mod foo {
2     pub const X: u32 = 1;
3 }
4
5 pub use foo as foo2;
6 //~^ ERROR `foo` is only public within the crate, and cannot be re-exported outside [E0365]
7
8 fn main() {}