2025-03-08 18:58:05 +01:00
|
|
|
error[E0805]: malformed `inline` attribute input
|
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)]
|
2025-03-08 18:58:05 +01:00
|
|
|
| ^^^^^^^^-----------^
|
|
|
|
|
| |
|
|
|
|
|
| expected a single argument here
|
2025-03-04 14:17:06 +01:00
|
|
|
|
|
2025-08-11 17:02:32 +00:00
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/attributes/codegen.html#the-inline-attribute>
|
2025-03-05 14:35:54 +01:00
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
2025-03-04 14:17:06 +01:00
|
|
|
|
|
|
|
|
|
LL - #[inline(please,no)]
|
2025-08-11 01:46:34 +00:00
|
|
|
LL + #[inline(always)]
|
|
|
|
|
|
|
|
|
|
|
LL - #[inline(please,no)]
|
|
|
|
|
LL + #[inline(never)]
|
2025-03-04 14:17:06 +01:00
|
|
|
|
|
|
|
|
|
LL - #[inline(please,no)]
|
|
|
|
|
LL + #[inline]
|
|
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-03-08 18:58:05 +01:00
|
|
|
error[E0805]: malformed `inline` attribute input
|
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()]
|
2025-03-08 18:58:05 +01:00
|
|
|
| ^^^^^^^^--^
|
|
|
|
|
| |
|
|
|
|
|
| expected a single argument here
|
2025-03-04 14:17:06 +01:00
|
|
|
|
|
2025-08-11 17:02:32 +00:00
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/attributes/codegen.html#the-inline-attribute>
|
2025-03-05 14:35:54 +01:00
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
2025-03-04 14:17:06 +01:00
|
|
|
|
|
2025-08-11 01:46:34 +00:00
|
|
|
LL | #[inline(always)]
|
|
|
|
|
| ++++++
|
|
|
|
|
LL | #[inline(never)]
|
|
|
|
|
| +++++
|
2025-03-04 14:17:06 +01:00
|
|
|
LL - #[inline()]
|
|
|
|
|
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
|
|
|
|
2025-03-08 18:58:05 +01:00
|
|
|
For more information about this error, try `rustc --explain E0805`.
|