]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7813.stderr
Rollup merge of #61267 - michaelwoerister:update-xlto-table, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-7813.stderr
1 error[E0282]: type annotations needed for `&[_; 0]`
2   --> $DIR/issue-7813.rs:2:13
3    |
4 LL |     let v = &[];
5    |         -   ^^^ cannot infer type
6    |         |
7    |         consider giving `v` the explicit type `&[_; 0]`, with the type parameters specified
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0282`.