rustc_resolve

Module diagnostics

source

Structsยง

Enumsยง

  • DiagMode ๐Ÿ”’
    Whether a binding is part of a pattern or a use statement. Used for diagnostics.
  • FoundUse ๐Ÿ”’
    Whether an existing place with an use item was found.
  • Instead ๐Ÿ”’
    A suggestion has already been emitted, change the wording slightly to clarify that both are independent options.
  • SuggestionTarget ๐Ÿ”’

Functionsยง

Type Aliasesยง

  • LabelSuggestion ๐Ÿ”’
    Potential candidate for an undeclared or out-of-scope label - contains the ident of a similarly named label and whether or not it is reachable.
  • PathString ๐Ÿ”’
  • Res ๐Ÿ”’
  • Suggestion ๐Ÿ”’
    A vector of spans and replacements, a message and applicability.