Auto merge of #95280 - InfRandomness:infrandomness/Dtorck_clarification, r=oli-obk
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. Fixes https://github.com/rust-lang/rust/issues/94310
This commit is contained in:
commit
09be68c869
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