1 error[E0433]: failed to resolve: use of undeclared type `Baz`
2 --> $DIR/issue-81508.rs:11:20
4 LL | let Baz: &str = "";
5 | --- help: `Baz` is defined here, but is not a type
7 LL | println!("{}", Baz::Bar);
8 | ^^^ use of undeclared type `Baz`
10 error[E0433]: failed to resolve: use of undeclared type `Foo`
11 --> $DIR/issue-81508.rs:20:24
14 | ---------- help: `Foo` is defined here, but is not a type
16 LL | println!("{}", Foo::Bar);
17 | ^^^ use of undeclared type `Foo`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0433`.