rust/tests/ui/invalid/invalid-inline.stderr

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

16 lines
346 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0534]: expected one argument
2022-09-16 22:49:43 +08:00
--> $DIR/invalid-inline.rs:3:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | #[inline(please,no)]
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^^^^^^^
error[E0534]: expected one argument
2022-09-16 22:49:43 +08:00
--> $DIR/invalid-inline.rs:7:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | #[inline()]
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^
2022-09-16 22:49:43 +08:00
error: aborting due to 2 previous errors
2018-08-08 14:28:26 +02:00
2022-09-16 22:49:43 +08:00
For more information about this error, try `rustc --explain E0534`.