]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attr-usage-inline.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[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] //~ ERROR: attribute should be applied to function or closure
5    | ^^^^^^^^^
6 LL | struct S;
7    | --------- not a function or closure
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0518`.