Expand description
Contains the data structures used by the diagnostic attribute family.
Re-exportsΒ§
use std::fmt;πuse std::fmt::Debug;πuse std::fmt::Debug;πuse rustc_macros::Decodable;πuse rustc_macros::Encodable;πuse rustc_macros::PrintAttribute;πuse rustc_macros::StableHash;πuse rustc_span::DesugaringKind;πuse rustc_span::Span;πuse rustc_span::Symbol;πuse rustc_span::kw;πuse thin_vec::ThinVec;πuse tracing::debug;πuse crate::PrintAttribute;π
StructsΒ§
- Custom
Diagnostic - A custom diagnostic, created from a diagnostic attribute.
- Directive
- Filter
- Represents the
onfilter in#[rustc_on_unimplemented]. - Filter
Format String - Represents a value inside an
onfilter. - Filter
Options - Used with
Filter::matches_predicateto evaluate theFilter. - Format
Args - Arguments to fill a FormatString with.
- Format
String - Like std::fmt::Arguments this is a string that has been parsed into βpiecesβ, either as string pieces or dynamic arguments.
- Name
Value - A
MetaNameValueStrin anon-filter.