about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorEllen <supbscripter@gmail.com>2021-09-07 01:56:29 +0100
committerEllen <supbscripter@gmail.com>2021-09-09 01:32:03 +0100
commit406d2ab95de0e90f45e00f6c1be1e4e7912aa153 (patch)
tree2e986e4fbf9db905d1f71f5ff7ebd20e0fc6fa53 /compiler/rustc_mir_transform/src
parent15101c8e95db6941f8c7d55fb301ad1b62748c7b (diff)
downloadrust-406d2ab95de0e90f45e00f6c1be1e4e7912aa153.tar.gz
rust-406d2ab95de0e90f45e00f6c1be1e4e7912aa153.zip
rename mir -> thir around abstract consts
Diffstat (limited to 'compiler/rustc_mir_transform/src')
-rw-r--r--compiler/rustc_mir_transform/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/lib.rs b/compiler/rustc_mir_transform/src/lib.rs
index 22abce65a4b..20232e635a2 100644
--- a/compiler/rustc_mir_transform/src/lib.rs
+++ b/compiler/rustc_mir_transform/src/lib.rs
@@ -307,7 +307,6 @@ fn mir_promoted(
     // this point, before we steal the mir-const result.
     // Also this means promotion can rely on all const checks having been done.
     let _ = tcx.mir_const_qualif_opt_const_arg(def);
-    let _ = tcx.mir_abstract_const_opt_const_arg(def.to_global());
     let mut body = tcx.mir_const(def).steal();
 
     let mut required_consts = Vec::new();