]> git.lizzy.rs Git - rust.git/blob - tests/ui/unresolved/unresolved-candidates.stderr
Auto merge of #106827 - alexcrichton:update-llvm-to-15.0.7, r=cuviper
[rust.git] / tests / ui / unresolved / unresolved-candidates.stderr
1 error[E0432]: unresolved import `Trait`
2   --> $DIR/unresolved-candidates.rs:6:9
3    |
4 LL |     use Trait;
5    |         ^^^^^ no `Trait` in the root
6    |
7 help: consider importing this trait instead
8    |
9 LL |     use a::Trait;
10    |         ~~~~~~~~
11
12 error[E0405]: cannot find trait `Trait` in this scope
13   --> $DIR/unresolved-candidates.rs:10:10
14    |
15 LL |     impl Trait for () {}
16    |          ^^^^^ not found in this scope
17    |
18 help: consider importing this trait
19    |
20 LL |     use a::Trait;
21    |
22
23 error: aborting due to 2 previous errors
24
25 Some errors have detailed explanations: E0405, E0432.
26 For more information about an error, try `rustc --explain E0405`.