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