Files
rust/tests/ui/consts/issue-78655.stderr
Esteban Küber cc492edc9d Tweak unevaluated constant in pattern error
Silence errors that are implied by the errors in the `const` item definition.

Add a primary span label.
2024-12-04 20:29:35 +00:00

17 lines
417 B
Plaintext

error[E0381]: used binding `x` isn't initialized
--> $DIR/issue-78655.rs:3:5
|
LL | let x;
| - binding declared here but left uninitialized
LL | &x
| ^^ `x` used here but it isn't initialized
|
help: consider assigning a value
|
LL | let x = 42;
| ++++
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0381`.