mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 04:21:19 +01:00
8f2273e518
Fixes #131471 by checking if the range-start is a literal.
10 lines
285 B
Plaintext
10 lines
285 B
Plaintext
error[E0425]: cannot find value `w` in this scope
|
|
--> $DIR/misleading-field-access-hint.rs:5:17
|
|
|
|
|
LL | for _ in 0..w {
|
|
| ^ not found in this scope
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|