mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 00:13:02 +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`
|
|
}
|
|
}
|