SparrowLii | 0571b0a | 2022-10-10 03:14:32 | [diff] [blame] | 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 | | |
Michael Goulet | f6406df | 2025-02-13 03:07:18 | [diff] [blame] | 9 | LL | use a::Trait; |
Michael Goulet | 6d71251 | 2025-02-13 03:21:25 | [diff] [blame^] | 10 | | +++ |
SparrowLii | 0571b0a | 2022-10-10 03:14:32 | [diff] [blame] | 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 | | |
Esteban Küber | 5b40aa5 | 2023-03-18 02:18:39 | [diff] [blame] | 20 | LL + use a::Trait; |
SparrowLii | 0571b0a | 2022-10-10 03:14:32 | [diff] [blame] | 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`. |