Completely remove ConstnessAnd
This commit is contained in:
parent
a848c4ba3f
commit
a9a79f657c
24 changed files with 28 additions and 72 deletions
|
@ -2,7 +2,7 @@ use crate::infer::InferCtxt;
|
|||
use crate::traits::Obligation;
|
||||
use rustc_data_structures::fx::FxHashMap;
|
||||
use rustc_hir::def_id::DefId;
|
||||
use rustc_middle::ty::{self, ToPredicate, Ty, WithConstness};
|
||||
use rustc_middle::ty::{self, ToPredicate, Ty};
|
||||
|
||||
use super::FulfillmentError;
|
||||
use super::{ObligationCause, PredicateObligation};
|
||||
|
|
|
@ -3,7 +3,7 @@ use smallvec::smallvec;
|
|||
use crate::infer::outlives::components::{push_outlives_components, Component};
|
||||
use crate::traits::{Obligation, ObligationCause, PredicateObligation};
|
||||
use rustc_data_structures::fx::{FxHashSet, FxIndexSet};
|
||||
use rustc_middle::ty::{self, ToPredicate, TyCtxt, WithConstness};
|
||||
use rustc_middle::ty::{self, ToPredicate, TyCtxt};
|
||||
use rustc_span::symbol::Ident;
|
||||
use rustc_span::Span;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue