summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/auxiliary/issue-21221-4.rs
blob: 5e0d6cbdfef9e622d9170bd6bb3821778ca56e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// testing whether the lookup mechanism picks up types
// defined in the outside crate

#![crate_type="lib"]

mod foo {
    // should not be suggested => foo is private
    pub trait T {}
}

// should be suggested
pub use foo::T;