rustc_trait_selection::error_reporting::traits

Module suggestions

source

Structsยง

  • AwaitsVisitor ๐Ÿ”’
    Collect all the awaited expressions within the input expression.
  • CoroutineData ๐Ÿ”’
  • FindTypeParam ๐Ÿ”’
    Look for type param in an ADT being used only through a reference to confirm that suggesting param: ?Sized would be a valid constraint.
  • Collect the spans that we see the generic param param_did
  • Collect all the returned expressions within the input expression. Used to point at the return spans when we want to suggest some change to them.
  • Collect all the paths that reference Self. Used to suggest replacing associated types with an explicit type in where clauses.

Enumsยง

Traitsยง

Functionsยง