mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
17 lines
434 B
Plaintext
17 lines
434 B
Plaintext
error[E0425]: cannot find value `x` in this scope
|
|
--> $DIR/silenced-binding-typo.rs:4:14
|
|
|
|
|
LL | let _x = 42;
|
|
| -- `_x` defined here
|
|
LL | let _y = x;
|
|
| ^
|
|
|
|
|
help: the leading underscore in `_x` marks it as unused, consider renaming it to `x`
|
|
|
|
|
LL | let x = 42;
|
|
| ~
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|