1 error[E0412]: cannot find type `Foo` in this scope
2 --> $DIR/inaccessible_type_aliases.rs:11:12
5 | ^^^ not found in this scope
7 note: these type aliases exist but are inaccessible
8 --> $DIR/inaccessible_type_aliases.rs:2:5
11 | ^^^^^^^^^^^^^^^ `a::Foo`: not accessible
14 | ^^^^^^^^^^^^^^^ `b::Foo`: not accessible
16 error[E0412]: cannot find type `Bar` in this scope
17 --> $DIR/inaccessible_type_aliases.rs:12:12
19 LL | let y: Bar = 100;
20 | ^^^ not found in this scope
22 note: type alias `a::Bar` exists but is inaccessible
23 --> $DIR/inaccessible_type_aliases.rs:3:5
26 | ^^^^^^^^^^^^^^^ not accessible
28 error: aborting due to 2 previous errors
30 For more information about this error, try `rustc --explain E0412`.