about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-09-17 09:44:22 -0400
committerMichael Goulet <michael@errs.io>2024-09-17 09:44:27 -0400
commit1c3b03a17019e7aa9892ee4c5bf899c3db357412 (patch)
tree1d62df90e6eae9b9da05b2eb9412d1a70aa0629d
parent46b0f8bafcf11fa1d6b6c172f4f5c1b95c11ebdb (diff)
downloadrust-1c3b03a17019e7aa9892ee4c5bf899c3db357412.tar.gz
rust-1c3b03a17019e7aa9892ee4c5bf899c3db357412.zip
Mark where_clauses_object_safety as removed
-rw-r--r--compiler/rustc_lint/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index 5c67e21687f..e8229b72182 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -583,6 +583,11 @@ fn register_builtins(store: &mut LintStore) {
         "const_eval_mutable_ptr_in_final_value",
         "partially allowed now, otherwise turned into a hard error",
     );
+    store.register_removed(
+        "where_clauses_object_safety",
+        "converted into hard error, see PR #125380 \
+         <https://github.com/rust-lang/rust/pull/125380> for more information",
+    );
 }
 
 fn register_internals(store: &mut LintStore) {