--> $DIR/issue-65611.rs:59:20
|
LL | let x = buffer.last().unwrap().0.clone();
- | ^^^^
- | |
- | cannot infer type for `T`
- | help: consider specifying the type argument in the method call: `last::<_>`
+ | -------^^^^--
+ | | |
+ | | cannot infer type for `T`
+ | this method call resolves to `std::option::Option<&T>`
|
= note: type must be known at this point