Move MiniSet to data_structures
remove the need for T to be copy from MiniSet as was done for MiniMap
This commit is contained in:
parent
e62323df22
commit
6586c37bec
9 changed files with 46 additions and 50 deletions
|
@ -21,5 +21,4 @@ rustc_serialize = { path = "../rustc_serialize" }
|
|||
rustc_span = { path = "../rustc_span" }
|
||||
rustc_target = { path = "../rustc_target" }
|
||||
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
|
||||
arrayvec = { version = "0.5.1", default-features = false }
|
||||
rustc_ast = { path = "../rustc_ast" }
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
use crate::infer::outlives::env::RegionBoundPairs;
|
||||
use crate::infer::{GenericKind, VerifyBound};
|
||||
use rustc_data_structures::captures::Captures;
|
||||
use rustc_data_structures::mini_set::MiniSet;
|
||||
use rustc_hir::def_id::DefId;
|
||||
use rustc_middle::ty::subst::{GenericArg, GenericArgKind, Subst};
|
||||
use rustc_middle::ty::walk::MiniSet;
|
||||
use rustc_middle::ty::{self, Ty, TyCtxt};
|
||||
|
||||
/// The `TypeOutlives` struct has the job of "lowering" a `T: 'a`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue