2019-05-30 17:33:13 -05:00
|
|
|
error[E0282]: type annotations needed in `&T`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-12187-1.rs:6:10
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let &v = new();
|
2017-12-10 13:47:55 -06:00
|
|
|
| -^
|
|
|
|
| ||
|
2018-07-18 14:35:20 -05:00
|
|
|
| |cannot infer type
|
2019-05-31 22:48:09 -05:00
|
|
|
| consider giving this pattern the type `&T` with the type parameter `_` specified
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0282`.
|