]> git.lizzy.rs Git - rust.git/blob - tests/ui/pattern/pat-type-err-formal-param.stderr
Rollup merge of #106953 - kylematsuda:early-binder-docs, r=jackh726
[rust.git] / tests / 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`.