]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attr-usage-inline.stderr
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / attr-usage-inline.stderr
1 error[E0518]: attribute should be applied to function or closure
2   --> $DIR/attr-usage-inline.rs:6:1
3    |
4 LL | #[inline]
5    | ^^^^^^^^^
6 LL | struct S;
7    | --------- not a function or closure
8
9 error[E0518]: attribute should be applied to function or closure
10   --> $DIR/attr-usage-inline.rs:20:1
11    |
12 LL | #[inline]
13    | ^^^^^^^^^ not a function or closure
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0518`.