about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/errors
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-06-26 15:40:45 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-08 20:55:55 -0400
commit1ca9eb8ec3bcf8860d08a4e92f0eb8ebbf112fc4 (patch)
tree1dfc3c24565deb51caebc3acc00391267d444a5d /compiler/rustc_infer/src/errors
parentdd0335a27f03c0b654c49d188e122c3a0776c6a3 (diff)
downloadrust-1ca9eb8ec3bcf8860d08a4e92f0eb8ebbf112fc4.tar.gz
rust-1ca9eb8ec3bcf8860d08a4e92f0eb8ebbf112fc4.zip
Remove ReEmpty
Diffstat (limited to 'compiler/rustc_infer/src/errors')
-rw-r--r--compiler/rustc_infer/src/errors/note_and_explain.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_infer/src/errors/note_and_explain.rs b/compiler/rustc_infer/src/errors/note_and_explain.rs
index 6f1f9522c86..7e051835b4b 100644
--- a/compiler/rustc_infer/src/errors/note_and_explain.rs
+++ b/compiler/rustc_infer/src/errors/note_and_explain.rs
@@ -27,13 +27,6 @@ impl<'a> DescriptionCtx<'a> {
                 me.kind = "restatic";
             }
 
-            ty::ReEmpty(ty::UniverseIndex::ROOT) => me.kind = "reempty",
-
-            ty::ReEmpty(ui) => {
-                me.kind = "reemptyuni";
-                me.arg = format!("{:?}", ui);
-            }
-
             ty::RePlaceholder(_) => return None,
 
             // FIXME(#13998) RePlaceholder should probably print like