]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/pat-type-err-formal-param.stderr
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / pattern / pat-type-err-formal-param.stderr
1 error[E0308]: mismatched types
2   --> $DIR/pat-type-err-formal-param.rs:8:8
3    |
4 LL | fn foo(Tuple(_): String) {}
5    |        ^^^^^^^^  ------ expected due to this
6    |        |
7    |        expected struct `String`, found struct `Tuple`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.