fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
467 B17 linesraw
1error[E0518]: attribute should be applied to function or closure
2  --> $DIR/attr-usage-inline.rs:6:1
3   |
4LL | #[inline]
5   | ^^^^^^^^^
6LL | struct S;
7   | --------- not a function or closure
8
9error[E0518]: attribute should be applied to function or closure
10  --> $DIR/attr-usage-inline.rs:20:1
11   |
12LL | #[inline]
13   | ^^^^^^^^^ not a function or closure
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0518`.