rust/src/test/ui/invalid/invalid-inline.stderr

23 lines
593 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0535]: invalid argument
2018-12-25 08:56:47 -07:00
--> $DIR/invalid-inline.rs:3:10
2018-08-08 14:28:26 +02:00
|
LL | #[inline(please_no)] //~ ERROR invalid argument
| ^^^^^^^^^
error[E0534]: expected one argument
2018-12-25 08:56:47 -07:00
--> $DIR/invalid-inline.rs:7:1
2018-08-08 14:28:26 +02:00
|
LL | #[inline(please,no)] //~ ERROR expected one argument
| ^^^^^^^^^^^^^^^^^^^^
error[E0534]: expected one argument
2018-12-25 08:56:47 -07:00
--> $DIR/invalid-inline.rs:11:1
2018-08-08 14:28:26 +02:00
|
LL | #[inline()] //~ ERROR expected one argument
| ^^^^^^^^^^^
error: aborting due to 3 previous errors
Some errors occurred: E0534, E0535.
For more information about an error, try `rustc --explain E0534`.