blob: ae23dce5c50a6ee40931dbfad0724f76d6aabede [file] [log] [blame]
error[E0805]: malformed `inline` attribute input
--> $DIR/E0540.rs:1:1
|
LL | #[inline()]
| ^^^^^^^^--^
| |
| expected a single argument here
|
= note: for more information, visit <https://doc.rust-lang.org/reference/attributes/codegen.html#the-inline-attribute>
help: try changing it to one of the following valid forms of the attribute
|
LL | #[inline(always)]
| ++++++
LL | #[inline(never)]
| +++++
LL - #[inline()]
LL + #[inline]
|
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0805`.