2017-12-10 22:47:55 +03:00
|
|
|
error[E0282]: type annotations needed
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-7813.rs:2:13
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let v = &[]; //~ ERROR type annotations needed
|
2018-07-18 12:35:20 -07:00
|
|
|
| - ^^^ cannot infer type
|
2017-12-10 22:47:55 +03:00
|
|
|
| |
|
|
|
|
| consider giving `v` a type
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0282`.
|