Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

Contains the data structures used by the diagnostic attribute family.

Structs§

ConditionOptions
Used with OnUnimplementedCondition::matches_predicate to evaluate the OnUnimplementedCondition.
Directive
FilterFormatString
Represents a value inside an on filter.
FormatArgs
Arguments to fill a FormatString with.
FormatString
Like std::fmt::Arguments this is a string that has been parsed into “pieces”, either as string pieces or dynamic arguments.
NameValue
A MetaNameValueStr in an on-filter.
OnUnimplementedCondition
Represents the on filter in #[rustc_on_unimplemented].
OnUnimplementedNote

Enums§

AppendConstMessage
Append a message for [const] Trait errors.
CfgEntry
Flag
Represents a MetaWord in an on-filter.
FlagOrNv
FormatArg
LitOrArg
Name
The valid names of the on filter.
Piece
Predicate
Predicate(s) in #[rustc_on_unimplemented]’s on filter. See OnUnimplementedCondition.