rust/src/test/ui/attr-usage-inline.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

12 lines
300 B
Plaintext

error[E0518]: attribute should be applied to function or closure
--> $DIR/attr-usage-inline.rs:6:1
|
LL | #[inline]
| ^^^^^^^^^
LL | struct S;
| --------- not a function or closure
error: aborting due to previous error
For more information about this error, try `rustc --explain E0518`.