]> git.proxmox.com Git - rustc.git/blob - src/test/ui/typeck/issue-65611.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / typeck / issue-65611.stderr
1 error[E0282]: type annotations needed
2 --> $DIR/issue-65611.rs:59:13
3 |
4 LL | let x = buffer.last().unwrap().0.clone();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T`
6 |
7 = note: type must be known at this point
8
9 error[E0609]: no field `0` on type `&_`
10 --> $DIR/issue-65611.rs:59:36
11 |
12 LL | let x = buffer.last().unwrap().0.clone();
13 | ^
14
15 error: aborting due to 2 previous errors
16
17 Some errors have detailed explanations: E0282, E0609.
18 For more information about an error, try `rustc --explain E0282`.