-
Couldn't load subscription status.
- Fork 13.9k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.
Description
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();
}hanna-kruppe, scottmcm, leonardo-m, Pratyush and MSxDOS
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.