Module diagnostics

Source
Expand description

Diagnostics related methods for Ty.

Structsยง

IsSuggestableVisitor
MakeSuggestableFolder
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.