1 error[E0308]: mismatched types
2 --> $DIR/issue-2951.rs:3:10
5 | ^ expected type parameter, found a different type parameter
7 = note: expected type `T`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.