summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/pat-type-err-formal-param.stderr
blob: 206713a4bfc33a77c9aaa900f46c04b194188b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/pat-type-err-formal-param.rs:8:8
   |
LL | fn foo(Tuple(_): String) {}
   |        ^^^^^^^^  ------ expected due to this
   |        |
   |        expected struct `String`, found struct `Tuple`

error: aborting due to previous error

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