about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2021-10-28 14:12:24 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2021-10-28 14:12:24 +0000
commitbc552fc417a8a8c5d75b4a613390f64f48929dca (patch)
tree889c7e324b2b8a626b8a7950aae17f70bca7ec19 /compiler/rustc_borrowck
parenta8f06b249bda659c8a271d3581aca36a31761923 (diff)
downloadrust-bc552fc417a8a8c5d75b4a613390f64f48929dca.tar.gz
rust-bc552fc417a8a8c5d75b4a613390f64f48929dca.zip
Move instantiate_opaque_types to rustc_infer.
It does not depend on anything from rustc_trait_selection anymore.
Diffstat (limited to 'compiler/rustc_borrowck')
-rw-r--r--compiler/rustc_borrowck/src/type_check/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/mod.rs b/compiler/rustc_borrowck/src/type_check/mod.rs
index 7e69e710d68..7e6a481ca69 100644
--- a/compiler/rustc_borrowck/src/type_check/mod.rs
+++ b/compiler/rustc_borrowck/src/type_check/mod.rs
@@ -36,7 +36,6 @@ use rustc_span::def_id::CRATE_DEF_ID;
 use rustc_span::{Span, DUMMY_SP};
 use rustc_target::abi::VariantIdx;
 use rustc_trait_selection::infer::InferCtxtExt as _;
-use rustc_trait_selection::opaque_types::InferCtxtExt;
 use rustc_trait_selection::traits::error_reporting::InferCtxtExt as _;
 use rustc_trait_selection::traits::query::type_op;
 use rustc_trait_selection::traits::query::type_op::custom::CustomTypeOp;