]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/bad-import-in-nested.stderr
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / imports / bad-import-in-nested.stderr
1 error[E0432]: unresolved import `super::super::C::D::AA`
2   --> $DIR/bad-import-in-nested.rs:10:21
3    |
4 LL |         use super::{super::C::D::AA, AA as _};
5    |                     ^^^^^^^^^^^^^^^ no `AA` in `C::D`
6    |
7    = note: consider importing this type alias instead:
8            crate::A::AA
9
10 error[E0432]: unresolved import `crate::C::AA`
11   --> $DIR/bad-import-in-nested.rs:20:26
12    |
13 LL |     use crate::C::{self, AA};
14    |                          ^^ no `AA` in `C`
15    |
16    = note: consider importing this type alias instead:
17            crate::A::AA
18
19 error[E0432]: unresolved import `crate::C::BB`
20   --> $DIR/bad-import-in-nested.rs:23:20
21    |
22 LL |     use crate::{A, C::BB};
23    |                    ^^^^^ no `BB` in `C`
24    |
25    = note: consider importing this type alias instead:
26            crate::A::BB
27
28 error: aborting due to 3 previous errors
29
30 For more information about this error, try `rustc --explain E0432`.