rust/tests/ui/parser/issues/issue-89574.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
691 B
Plaintext
Raw Normal View History

error[E0282]: type annotations needed
--> $DIR/issue-89574.rs:2:25
|
LL | const EMPTY_ARRAY = [];
| ^^ cannot infer type
2021-10-06 01:52:45 +01:00
error: missing type for `const` item
--> $DIR/issue-89574.rs:2:22
2021-10-06 01:52:45 +01:00
|
LL | const EMPTY_ARRAY = [];
| ^ help: provide a type for the item: `: <type>`
2021-10-06 01:52:45 +01:00
error[E0282]: type annotations needed
--> $DIR/issue-89574.rs:2:25
|
LL | const EMPTY_ARRAY = [];
| ^^ cannot infer type
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 3 previous errors
2021-10-06 01:52:45 +01:00
For more information about this error, try `rustc --explain E0282`.