mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 04:27:38 +00:00
9 lines
194 B
Rust
9 lines
194 B
Rust
![]() |
// Check if rustc still displays the misleading hint to write `.` instead of `..`
|
||
|
fn main() {
|
||
|
let width = 10;
|
||
|
// ...
|
||
|
for _ in 0..w {
|
||
|
//~^ ERROR cannot find value `w`
|
||
|
}
|
||
|
}
|