]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/type-mismatch-same-crate-name/crateA.rs
Rollup merge of #98525 - JohnTitor:issue-79224, r=compiler-errors
[rust.git] / src / test / run-make-fulldeps / type-mismatch-same-crate-name / crateA.rs
1 mod foo {
2     pub struct Foo;
3 }
4
5 mod bar {
6     pub trait Bar{}
7
8     pub fn bar() -> Box<Bar> {
9         unimplemented!()
10     }
11 }
12
13 // This makes the publicly accessible path
14 // differ from the internal one.
15 pub use foo::Foo;
16 pub use bar::{Bar, bar};