rust/tests/ui/parser/keyword-final.rs

4 lines
96 B
Rust

fn main() {
let final = (); //~ ERROR expected identifier, found reserved keyword `final`
}