Module diagnostics

Source
Expand description

Diagnostics related methods for Ty.

Structs§

IsSuggestableVisitor
MakeSuggestableFolder
StaticLifetimeVisitor
Collect al types that have an implicit 'static obligation that we could suggest '_ for.
TraitObjectVisitor
Collect al types that have an implicit 'static obligation that we could suggest '_ for.

Enums§

SuggestChangingConstraintsMessage 🔒

Traits§

IsSuggestable

Functions§

suggest_arbitrary_trait_bound
suggest_changing_unsized_bound 🔒
suggest_constraining_type_param
Suggest restricting a type param with a new bound.
suggest_constraining_type_params
Suggest restricting a type param with a new bound.