pub(crate) trait LocAttributeExt {
// Required method
fn report_unused(&self, on: &str) -> Diagnostic;
}
Required Methods§
fn report_unused(&self, on: &str) -> Diagnostic
Implementations on Foreign Types§
Source§impl LocAttributeExt for Loc<Attribute>
impl LocAttributeExt for Loc<Attribute>
Source§fn report_unused(&self, on: &str) -> Diagnostic
fn report_unused(&self, on: &str) -> Diagnostic
Report this attribute as unused on on
on should be written not fit in the sentecnce {} is not a valid attribute for {on},
i.e. a thing
or an item
should probably be used