]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-12187-2.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-12187-2.stderr
CommitLineData
dc9dc135 1error[E0282]: type annotations needed for `&T`
0731742a 2 --> $DIR/issue-12187-2.rs:6:10
ff7c6d11 3 |
0531ce1d 4LL | let &v = new();
ff7c6d11
XL
5 | -^
6 | ||
8faf50e0 7 | |cannot infer type
dc9dc135 8 | consider giving this pattern the explicit type `&T`, with the type parameters specified
ff7c6d11
XL
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0282`.