10 lines
190 B
Rust
10 lines
190 B
Rust
#![feature(stmt_expr_attributes)]
|
|
|
|
#[foo] //~ ERROR The attribute `foo`
|
|
fn main() {
|
|
#[foo] //~ ERROR The attribute `foo`
|
|
let x = ();
|
|
#[foo] //~ ERROR The attribute `foo`
|
|
x
|
|
}
|