about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2021-12-03 10:11:21 -0300
committerSantiago Pastorino <spastorino@gmail.com>2021-12-03 10:11:21 -0300
commit85b723c4e6c88fc5d7e1e3f6b3c86711144882b5 (patch)
treeb6c88abe2d72bfeb6ce8addf56e2d0e87ca054f7 /compiler/rustc_borrowck/src
parent3e21768a0a3fc84befd1cbe825ae6849e9941b73 (diff)
downloadrust-85b723c4e6c88fc5d7e1e3f6b3c86711144882b5.tar.gz
rust-85b723c4e6c88fc5d7e1e3f6b3c86711144882b5.zip
Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"
This reverts commit 18bb8c61a975fff6424cda831ace5b0404277145, reversing
changes made to d9baa361902b172be716f96619b909f340802dea.
Diffstat (limited to 'compiler/rustc_borrowck/src')
-rw-r--r--compiler/rustc_borrowck/src/type_check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/mod.rs b/compiler/rustc_borrowck/src/type_check/mod.rs
index d90154f1643..da26d9c7b87 100644
--- a/compiler/rustc_borrowck/src/type_check/mod.rs
+++ b/compiler/rustc_borrowck/src/type_check/mod.rs
@@ -31,7 +31,7 @@ use rustc_middle::ty::fold::TypeFoldable;
 use rustc_middle::ty::subst::{GenericArgKind, SubstsRef, UserSubsts};
 use rustc_middle::ty::{
     self, CanonicalUserTypeAnnotation, CanonicalUserTypeAnnotations, OpaqueTypeKey, RegionVid,
-    ToPredicate, Ty, TyCtxt, UserType, UserTypeAnnotationIndex,
+    ToPredicate, Ty, TyCtxt, UserType, UserTypeAnnotationIndex, WithConstness,
 };
 use rustc_span::def_id::CRATE_DEF_ID;
 use rustc_span::{Span, DUMMY_SP};