For E0038, suggest associated type if available

This commit is contained in:
trevyn 2024-02-14 12:42:32 -08:00
parent 502ce8287b
commit 220e8a7484
7 changed files with 58 additions and 6 deletions

View file

@ -524,6 +524,7 @@ pub enum StashKey {
MaybeFruTypo,
CallAssocMethod,
TraitMissingMethod,
AssociatedTypeSuggestion,
OpaqueHiddenTypeMismatch,
MaybeForgetReturn,
/// Query cycle detected, stashing in favor of a better error.