summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/suppressed-error.stderr
blob: 0b68fc97e78887606ea21cd46fbdb378c185cc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/suppressed-error.rs:2:9
   |
LL |     let (x, y) = ();
   |         ^^^^^^   -- this expression has type `()`
   |         |
   |         expected `()`, found `(_, _)`
   |
   = note: expected unit type `()`
                  found tuple `(_, _)`

error: aborting due to 1 previous error

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