rust/src/test/compile-fail/attr-before-let.rs

4 lines
65 B
Rust
Raw Normal View History

fn main() {
#[attr]
let _i = 0; //! ERROR expected item
}