rust/src/test/compile-fail/restricted-keyword2.rs

6 lines
87 B
Rust

// error-pattern:found `let` in restricted position
fn main() {
enum let = int;
}