fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0518]: attribute should be applied to function or closure 2 --> $DIR/multiple-invalid.rs:4:1 3 | 4LL | #[inline] 5 | ^^^^^^^^^ 6... 7LL | const FOO: u8 = 0; 8 | ------------------ not a function or closure 9 10error: attribute should be applied to a function 11 --> $DIR/multiple-invalid.rs:6:1 12 | 13LL | #[target_feature(enable = "sse2")] 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15LL | 16LL | const FOO: u8 = 0; 17 | ------------------ not a function 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0518`.