1
Fork 0

Move instantiate_opaque_types to rustc_infer.

It does not depend on anything from rustc_trait_selection anymore.
This commit is contained in:
Oli Scherer 2021-10-28 14:12:24 +00:00
parent a8f06b249b
commit bc552fc417
6 changed files with 283 additions and 294 deletions

View file

@ -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;