]> git.lizzy.rs Git - rust.git/blob - tests/ui/unresolved/unresolved-candidates.rs
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / unresolved / unresolved-candidates.rs
1 mod a {
2     pub trait Trait {}
3 }
4
5 mod b {
6     use Trait; //~ ERROR unresolved import `Trait`
7 }
8
9 mod c {
10     impl Trait for () {} //~ ERROR cannot find trait `Trait` in this scope
11 }
12
13 fn main() {}