Lines Matching defs:attribute
342 abort!(expr, "attribute `{}` does not accept a value", attr.name);
355 abort!(expr, "attribute `{}` does not accept a value", attr.name);
368 abort!(expr, "attribute `{}` does not accept a value", attr.name);
376 abort!(expr, "attribute `{}` does not accept a value", attr.name);
411 self.deprecations.push(Deprecation::attribute(
424 "Expected `{}` attribute instead of `{}`",
857 abort!(expr, "attribute `{}` does not accept a value", attr.name);
1269 fn attribute(version: &'static str, old: AttrKind, new: AttrKind, span: Span) -> Self {
1318 "Unknown `#[{}({})]` attribute ({} exists)",
1369 /// Use the original attribute name defined in the code.