blob: b72c23987ec3c044376ce3e17c7b455056c6be5d [file] [log] [blame]
error[E0282]: type annotations needed
--> $DIR/issue-12187-2.rs:16:10
|
16 | let &v = new();
| -^
| ||
| |cannot infer type for `_`
| consider giving the pattern a type
error: aborting due to previous error