1 2 3 4 5 6 7 8
error: expected statement after outer attribute --> $DIR/attr-dangling-in-fn.rs:4:3 | LL | #[foo = "bar"] | ^^^^^^^^^^^^^^ error: aborting due to previous error