blob: 59be0f3be11e6a2d3a408778bbb3af3a6e9b0999 [file] [log] [blame]
error[E0282]: type annotations needed for `&[_; 0]`
--> $DIR/issue-7813.rs:2:13
|
LL | let v = &[];
| - ^^^ cannot infer type
| |
| consider giving `v` the explicit type `&[_; 0]`, with the type parameters specified
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.