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

18 lines
467 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0518]: attribute should be applied to function or closure
2018-12-25 09:56:47 -06:00
--> $DIR/attr-usage-inline.rs:6:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[inline]
2018-08-08 07:28:26 -05: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 07:28:26 -05:00
For more information about this error, try `rustc --explain E0518`.