1 error[E0282]: type annotations needed
2 --> $DIR/issue-65611.rs:59:13
4 LL | let x = buffer.last().unwrap().0.clone();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T`
7 error[E0609]: no field `0` on type `&_`
8 --> $DIR/issue-65611.rs:59:36
10 LL | let x = buffer.last().unwrap().0.clone();
13 error: aborting due to 2 previous errors
15 Some errors have detailed explanations: E0282, E0609.
16 For more information about an error, try `rustc --explain E0282`.