An unknown argument was given to the inline
attribute.
Erroneous code example:
#[inline(unknown)] // error: invalid argument
pub fn something() {}
fn main() {}
RunThe inline
attribute only supports two arguments:
All other arguments given to the inline
attribute will return this error.
Example:
#[inline(never)] // ok!
pub fn something() {}
fn main() {}
RunFor more information see the inline
Attribute section
of the Reference.