Swap DtorckConstraint to DropckConstraint
This change was made as per suspicion that this struct was never renamed after consistent use of DropCk. This also clarifies the meaning behind the name of this structure.
This commit is contained in:
parent
8d8135f003
commit
645620b3b3
6 changed files with 19 additions and 19 deletions
|
@ -5,7 +5,7 @@ use crate::infer::InferOk;
|
|||
use rustc_middle::ty::subst::GenericArg;
|
||||
use rustc_middle::ty::{self, Ty, TyCtxt};
|
||||
|
||||
pub use rustc_middle::traits::query::{DropckOutlivesResult, DtorckConstraint};
|
||||
pub use rustc_middle::traits::query::{DropckConstraint, DropckOutlivesResult};
|
||||
|
||||
pub trait AtExt<'tcx> {
|
||||
fn dropck_outlives(&self, ty: Ty<'tcx>) -> InferOk<'tcx, Vec<GenericArg<'tcx>>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue