fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
659 B26 linesraw
1error[E0432]: unresolved import `Trait`
2  --> $DIR/unresolved-candidates.rs:6:9
3   |
4LL |     use Trait;
5   |         ^^^^^ no `Trait` in the root
6   |
7help: consider importing this trait instead
8   |
9LL |     use a::Trait;
10   |         ~~~~~~~~
11
12error[E0405]: cannot find trait `Trait` in this scope
13  --> $DIR/unresolved-candidates.rs:10:10
14   |
15LL |     impl Trait for () {}
16   |          ^^^^^ not found in this scope
17   |
18help: consider importing this trait
19   |
20LL +     use a::Trait;
21   |
22
23error: aborting due to 2 previous errors
24
25Some errors have detailed explanations: E0405, E0432.
26For more information about an error, try `rustc --explain E0405`.