2022-06-21 17:54:17 -05:00
|
|
|
error[E0381]: used binding `x` isn't initialized
|
2020-11-04 10:53:43 -06:00
|
|
|
--> $DIR/issue-78655.rs:3:5
|
|
|
|
|
|
2022-06-21 13:57:45 -05:00
|
|
|
LL | let x;
|
2022-06-21 17:54:17 -05:00
|
|
|
| - binding declared here but left uninitialized
|
2020-11-04 10:53:43 -06:00
|
|
|
LL | &x
|
2022-06-21 17:54:17 -05:00
|
|
|
| ^^ `x` used here but it isn't initialized
|
2022-09-23 02:28:48 -05:00
|
|
|
|
|
|
|
|
help: consider assigning a value
|
|
|
|
|
|
|
|
|
LL | let x = 0;
|
|
|
|
| +++
|
2020-11-04 10:53:43 -06:00
|
|
|
|
|
|
|
error: could not evaluate constant pattern
|
|
|
|
--> $DIR/issue-78655.rs:7:9
|
|
|
|
|
|
|
|
|
LL | let FOO = FOO;
|
|
|
|
| ^^^
|
|
|
|
|
2023-02-27 11:43:39 -06:00
|
|
|
error: aborting due to 2 previous errors
|
2020-11-04 10:53:43 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0381`.
|