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/E0518.rs:1:1 3 | 4LL | #[inline(always)] 5 | ^^^^^^^^^^^^^^^^^ 6LL | struct Foo; 7 | ----------- not a function or closure 8 9error[E0518]: attribute should be applied to function or closure 10 --> $DIR/E0518.rs:4:1 11 | 12LL | #[inline(never)] 13 | ^^^^^^^^^^^^^^^^ 14LL | / impl Foo { 15LL | | } 16 | |_- not a function or closure 17 18error: aborting due to 2 previous errors 19 20For more information about this error, try `rustc --explain E0518`.