Rollup merge of #121111 - trevyn:associated-type-suggestion, r=davidtwco

For E0038, suggest associated type if available

Closes #116434
This commit is contained in:
Guillaume Gomez
2024-02-16 17:08:12 +01:00
committed by GitHub
7 changed files with 58 additions and 6 deletions

View File

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