]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0365.rs
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[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() {}