2023-10-19 17:34:45 -05:00
|
|
|
error[E0425]: cannot find value `x` in this scope
|
|
|
|
--> $DIR/silenced-binding-typo.rs:4:14
|
|
|
|
|
|
|
|
|
LL | let _y = x;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: a local variable with a similar name exists, consider changing it
|
|
|
|
|
|
|
|
|
LL | let x = 42;
|
|
|
|
| ~
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-10-19 17:34:45 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|