fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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