about summary refs log tree commit diff
path: root/compiler/rustc_privacy/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-07-03 15:27:41 +0000
committerMichael Goulet <michael@errs.io>2023-07-03 21:40:04 +0000
commit0c73b41cd69c33b76ba2a833bf8bd94a95e73ccb (patch)
treef10552ff044bed6c09e81b4ac239efe06c0b3545 /compiler/rustc_privacy/src
parentc6fcbaae0f11f3f7d7827f946e8ca9a44c1da3ef (diff)
downloadrust-0c73b41cd69c33b76ba2a833bf8bd94a95e73ccb.tar.gz
rust-0c73b41cd69c33b76ba2a833bf8bd94a95e73ccb.zip
remove TypeWellFormedFromEnv
Diffstat (limited to 'compiler/rustc_privacy/src')
-rw-r--r--compiler/rustc_privacy/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs
index 055006373ef..4fcee9396ed 100644
--- a/compiler/rustc_privacy/src/lib.rs
+++ b/compiler/rustc_privacy/src/lib.rs
@@ -174,7 +174,6 @@ where
             }
             ty::ClauseKind::ConstEvaluatable(ct) => ct.visit_with(self),
             ty::ClauseKind::WellFormed(arg) => arg.visit_with(self),
-            ty::ClauseKind::TypeWellFormedFromEnv(_) => bug!("unexpected clause: {clause}"),
         }
     }