summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-37665.stderr
blob: 1e1f451b450af2c4cbbf2209eb1cdca41423f7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/issue-37665.rs:9: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`.