]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/auxiliary/issue-21221-4.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / resolve / auxiliary / issue-21221-4.rs
1 // testing whether the lookup mechanism picks up types
2 // defined in the outside crate
3
4 #![crate_type="lib"]
5
6 mod foo {
7     // should not be suggested => foo is private
8     pub trait T {}
9 }
10
11 // should be suggested
12 pub use foo::T;