summaryrefslogtreecommitdiffstats
path: root/tests/ui/mir-unpretty.stderr
blob: 3808f8583b8362b4552b347b96a81b4116dd2ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/mir-unpretty.rs:4:17
   |
LL |     let x: () = 0;
   |            --   ^ expected `()`, found integer
   |            |
   |            expected due to this

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.