rustc_trait_selection::error_reporting

Module traits

Source

Modulesยง

ambiguity
call_kind
Common logic for borrowck use-after-move errors when moved into a fn(self), as well as errors when attempting to call a non-const function in a const context.
fulfillment_errors ๐Ÿ”’
on_unimplemented
overflow ๐Ÿ”’
suggestions

Structsยง

FindExprBySpan
Crude way of getting back an Expr from a Span.
ImplCandidate
UnsatisfiedConst ๐Ÿ”’

Enumsยง

ArgKind
Summarizes information
CandidateSimilarity
DefIdOrName
GetSafeTransmuteErrorAndReason ๐Ÿ”’
OverflowCause

Functionsยง

attempt_dyn_to_enum_suggestion ๐Ÿ”’
Attempt to suggest converting the dyn Trait argument to an enumeration over the types that implement Trait.
attempt_dyn_to_impl_suggestion ๐Ÿ”’
Attempt to suggest that a dyn Trait argument or return type be converted to use impl Trait.
report_dyn_incompatibility
suggest_new_overflow_limit
to_pretty_impl_header ๐Ÿ”’
Recovers the โ€œimpl X for Yโ€ signature from impl_def_id and returns it as a string.