Skip to content

Commit bcee0a6

Browse files
authored
Rollup merge of rust-lang#90376 - oli-obk:🧹, r=spastorino
Various cleanups around opaque types Best reviewed commit by commit. This PR has no functional changes. Mostly it's moving logic from an extension trait in rustc_trait_selection to inherent impls on rustc_infer.
2 parents ae244d8 + bc552fc commit bcee0a6

File tree

7 files changed

+597
-650
lines changed

7 files changed

+597
-650
lines changed

compiler/rustc_borrowck/src/type_check/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ use rustc_span::def_id::CRATE_DEF_ID;
3636
use rustc_span::{Span, DUMMY_SP};
3737
use rustc_target::abi::VariantIdx;
3838
use rustc_trait_selection::infer::InferCtxtExt as _;
39-
use rustc_trait_selection::opaque_types::InferCtxtExt;
4039
use rustc_trait_selection::traits::error_reporting::InferCtxtExt as _;
4140
use rustc_trait_selection::traits::query::type_op;
4241
use rustc_trait_selection::traits::query::type_op::custom::CustomTypeOp;

0 commit comments

Comments
 (0)