blob: 7be1bcd38de59e6040e0f1c26ebb3cda1595e0d6 [file] [log] [blame]
SparrowLii0571b0a2022-10-10 03:14:321error[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 |
Michael Gouletf6406df2025-02-13 03:07:189LL | use a::Trait;
Michael Goulet6d712512025-02-13 03:21:2510 | +++
SparrowLii0571b0a2022-10-10 03:14:3211
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 |
Esteban Küber5b40aa52023-03-18 02:18:3920LL + use a::Trait;
SparrowLii0571b0a2022-10-10 03:14:3221 |
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`.