1 error[E0412]: cannot find type `Foo` in this scope
2 --> $DIR/issue-88472.rs:16:16
5 | ^^^ not found in this scope
7 note: struct `a::Foo` exists but is inaccessible
8 --> $DIR/issue-88472.rs:8:5
11 | ^^^^^^^^^^^ not accessible
13 error[E0412]: cannot find type `Eee` in this scope
14 --> $DIR/issue-88472.rs:33:16
17 | ^^^ not found in this scope
19 note: these enums exist but are inaccessible
20 --> $DIR/issue-88472.rs:22:5
23 | ^^^^^^^^ `c::Eee`: not accessible
26 | ^^^^^^^^ `c::d::Eee`: not accessible
28 warning: unused import: `crate::a::*`
29 --> $DIR/issue-88472.rs:14:9
34 note: the lint level is defined here
35 --> $DIR/issue-88472.rs:4:9
37 LL | #![warn(unused_imports)]
40 error: aborting due to 2 previous errors; 1 warning emitted
42 For more information about this error, try `rustc --explain E0412`.