rust/tests/ui/track-diagnostics/track3.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
735 B
Plaintext
Raw Normal View History

2022-10-24 21:19:48 +00:00
error[E0422]: cannot find struct, variant or union type `Blah` in this scope
2022-10-26 11:41:57 +00:00
--> $DIR/track3.rs:LL:CC
2022-10-24 21:19:48 +00:00
|
LL | let _unimported = Blah { field: u8 };
| ^^^^ not found in this scope
2022-10-26 11:41:57 +00:00
-Ztrack-diagnostics: created at compiler/rustc_resolve/src/late/diagnostics.rs:LL:CC
2022-10-24 21:19:48 +00:00
error[E0423]: expected value, found builtin type `u8`
2022-10-26 11:41:57 +00:00
--> $DIR/track3.rs:LL:CC
2022-10-24 21:19:48 +00:00
|
LL | let _unimported = Blah { field: u8 };
| ^^ not a value
2022-10-26 11:41:57 +00:00
-Ztrack-diagnostics: created at compiler/rustc_resolve/src/late/diagnostics.rs:LL:CC
2022-10-24 21:19:48 +00:00
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0422, E0423.
For more information about an error, try `rustc --explain E0422`.