about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-01-20 14:12:41 +0100
committerJakub Beránek <berykubik@gmail.com>2025-01-20 14:12:41 +0100
commit1e0204beae7c0ebc5cddc64d1375bc7ee95f41db (patch)
tree35fe35cfae96730b99e09b4dd97fdff8ab3e3a64 /compiler/rustc_errors/src
parent808bd955862a48f604f1b227c7ca0bbb7ae2a8e8 (diff)
parentecda83b30f0f68cf5692855dddc0bc38ee8863fc (diff)
downloadrust-1e0204beae7c0ebc5cddc64d1375bc7ee95f41db.tar.gz
rust-1e0204beae7c0ebc5cddc64d1375bc7ee95f41db.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic.rs2
-rw-r--r--compiler/rustc_errors/src/lib.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs
index afce877547f..797dcd7b4d1 100644
--- a/compiler/rustc_errors/src/diagnostic.rs
+++ b/compiler/rustc_errors/src/diagnostic.rs
@@ -880,7 +880,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
         )
     } }
 
-    /// Show a suggestion that has multiple parts to it, always as it's own subdiagnostic.
+    /// Show a suggestion that has multiple parts to it, always as its own subdiagnostic.
     /// In other words, multiple changes need to be applied as part of this suggestion.
     #[rustc_lint_diagnostics]
     pub fn multipart_suggestion_verbose(
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 58fe3ec4b85..cc5eb9c335e 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -566,9 +566,7 @@ pub enum StashKey {
     /// FRU syntax
     MaybeFruTypo,
     CallAssocMethod,
-    TraitMissingMethod,
     AssociatedTypeSuggestion,
-    OpaqueHiddenTypeMismatch,
     MaybeForgetReturn,
     /// Query cycle detected, stashing in favor of a better error.
     Cycle,