rust/tests/ui/suggestions/silenced-binding-typo.rs

6 lines
82 B
Rust

//@ run-rustfix
fn main() {
let _x = 42; //~ HELP
let _y = x; //~ ERROR
}