Expand description
Contains the data structures used by the diagnostic attribute family.
Structs§
- Condition
Options - Used with
OnUnimplementedCondition::matches_predicateto evaluate theOnUnimplementedCondition. - Custom
Diagnostic - A custom diagnostic, created from a diagnostic attribute.
- Directive
- Filter
Format String - Represents a value inside an
onfilter. - 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. - OnUnimplemented
Condition - Represents the
onfilter in#[rustc_on_unimplemented].