]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-81508.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-81508.stderr
1 error[E0433]: failed to resolve: use of undeclared type `Baz`
2   --> $DIR/issue-81508.rs:11:20
3    |
4 LL |     let Baz: &str = "";
5    |         --- help: `Baz` is defined here, but is not a type
6 LL |
7 LL |     println!("{}", Baz::Bar);
8    |                    ^^^ use of undeclared type `Baz`
9
10 error[E0433]: failed to resolve: use of undeclared type `Foo`
11   --> $DIR/issue-81508.rs:20:24
12    |
13 LL |     use super::Foo;
14    |         ---------- help: `Foo` is defined here, but is not a type
15 LL |     fn function() {
16 LL |         println!("{}", Foo::Bar);
17    |                        ^^^ use of undeclared type `Foo`
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0433`.