summaryrefslogtreecommitdiffstats
path: root/tests/ui/track-diagnostics/track3.stderr
blob: dc468d7e8eeb15e6dc664cacbbcf11e6f3f48581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0422]: cannot find struct, variant or union type `Blah` in this scope
  --> $DIR/track3.rs:LL:CC
   |
LL |     let _unimported = Blah { field: u8 };
   |                       ^^^^ not found in this scope
-Ztrack-diagnostics: created at compiler/rustc_resolve/src/late/diagnostics.rs:LL:CC

error[E0423]: expected value, found builtin type `u8`
  --> $DIR/track3.rs:LL:CC
   |
LL |     let _unimported = Blah { field: u8 };
   |                                     ^^ not a value
-Ztrack-diagnostics: created at compiler/rustc_resolve/src/late/diagnostics.rs:LL:CC

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0422, E0423.
For more information about an error, try `rustc --explain E0422`.