rust/src/test/compile-fail/restricted-keyword2.rs
2012-04-27 16:45:54 -07:00

6 lines
93 B
Rust

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