rust/tests/ui/attr-usage-inline.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
467 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0518]: attribute should be applied to function or closure
2018-12-25 15:56:47 +00:00
--> $DIR/attr-usage-inline.rs:6:1
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[inline]
2018-08-08 12:28:26 +00:00
| ^^^^^^^^^
LL | struct S;
| --------- not a function or closure
error[E0518]: attribute should be applied to function or closure
--> $DIR/attr-usage-inline.rs:20:1
|
LL | #[inline]
| ^^^^^^^^^ not a function or closure
error: aborting due to 2 previous errors
2018-08-08 12:28:26 +00:00
For more information about this error, try `rustc --explain E0518`.