Module diagnostics

Source

Structsยง

BaseError ๐Ÿ”’
Only used for diagnostics.
ElisionFnParameter ๐Ÿ”’
Description of the lifetimes appearing in a function parameter. This is used to provide a literal explanation to the elision failure.
LifetimeFinder ๐Ÿ”’
MissingLifetime ๐Ÿ”’
Description of an elided lifetime.

Enumsยง

AssocSuggestion ๐Ÿ”’
A field or associated item from self type suggested in case of resolution failure.
LifetimeElisionCandidate ๐Ÿ”’
Description of lifetimes that appear as candidates for elision. This is used to suggest introducing an explicit lifetime.
TypoCandidate ๐Ÿ”’

Functionsยง

import_candidate_to_enum_paths ๐Ÿ”’
Gets the stringified path for an enum from an ImportSuggestion for an enum variant.
is_self_type ๐Ÿ”’
is_self_value ๐Ÿ”’
mk_where_bound_predicate ๐Ÿ”’
signal_label_shadowing ๐Ÿ”’
Shadowing involving a label is only a warning for historical reasons.
signal_lifetime_shadowing ๐Ÿ”’
Report lifetime/lifetime shadowing as an error.

Type Aliasesยง

Res ๐Ÿ”’