1 error[E0282]: type annotations needed
2 --> $DIR/issue-64662.rs:2:9
5 | ^^^ cannot infer type for type parameter `T`
7 error[E0282]: type annotations needed
8 --> $DIR/issue-64662.rs:3:9
11 | ^^^ cannot infer type for type parameter `T`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0282`.