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.