rust/tests/ui/rfcs/rfc-0000-never_patterns/check_place_is_initialized.stderr

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

17 lines
490 B
Plaintext
Raw Normal View History

error[E0381]: used binding `x` isn't initialized
--> $DIR/check_place_is_initialized.rs:10:15
|
LL | let x: Void;
| - binding declared here but left uninitialized
LL | match x { ! }
| ^ `x` used here but it isn't initialized
|
help: consider assigning a value
|
LL | let x: Void = /* value */;
| +++++++++++++
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0381`.