diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-02-16 17:08:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-16 17:08:12 +0100 |
| commit | 670bdbf8083760f5df1b1a3f4d24cdb395491790 (patch) | |
| tree | 1189a3a532962ec2908f41f1b0e846189b62bce8 /compiler/rustc_errors/src | |
| parent | e5a743c4c2b7f5404ee4e0c0d66a6bbe8cbf5c98 (diff) | |
| parent | 220e8a7484de6fd4e2679a3f6577ba879be73204 (diff) | |
| download | rust-670bdbf8083760f5df1b1a3f4d24cdb395491790.tar.gz rust-670bdbf8083760f5df1b1a3f4d24cdb395491790.zip | |
Rollup merge of #121111 - trevyn:associated-type-suggestion, r=davidtwco
For E0038, suggest associated type if available Closes #116434
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 7c6caf442dc..b9b257856e6 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -526,6 +526,7 @@ pub enum StashKey { MaybeFruTypo, CallAssocMethod, TraitMissingMethod, + AssociatedTypeSuggestion, OpaqueHiddenTypeMismatch, MaybeForgetReturn, /// Query cycle detected, stashing in favor of a better error. |
