]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/typeck_type_placeholder_lifetime_1.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / typeck / typeck_type_placeholder_lifetime_1.stderr
1 error[E0107]: wrong number of type arguments: expected 1, found 2
2   --> $DIR/typeck_type_placeholder_lifetime_1.rs:19:19
3    |
4 LL |     let c: Foo<_, _> = Foo { r: &5 };
5    |                   ^ unexpected type argument
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0107`.