The following trait does not emit any warnings, although it should warn that the #[inline] hint is ignored on function prototypes.
trait Trait {
#[inline]
fn function();
}
Likewise for extern functions. E.g. should warn on
extern {
#[inline] fn function();
}
The following trait does not emit any warnings, although it should warn that the
#[inline]hint is ignored on function prototypes.Likewise for extern functions. E.g. should warn on