Expand description
Contains the data structures used by the diagnostic attribute family.
Structs§
- Condition
Options - Used with
OnUnimplementedCondition::matches_predicateto evaluate theOnUnimplementedCondition. - 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]. - OnUnimplemented
Note
Enums§
- Append
Const Message - Append a message for
[const] Traiterrors. - CfgEntry
- Flag
- Represents a
MetaWordin anon-filter. - Flag
OrNv - Format
Arg - LitOr
Arg - Name
- The valid names of the
onfilter. - Piece
- Predicate
- Predicate(s) in
#[rustc_on_unimplemented]’sonfilter. SeeOnUnimplementedCondition.