diff options
| author | bors <bors@rust-lang.org> | 2022-03-25 14:16:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-25 14:16:13 +0000 |
| commit | 09be68c869d95fe1df0f74a228569101c4e76be7 (patch) | |
| tree | 733bb3bf64b321e3b11e3c6b86dbdbdab69facaf /compiler/rustc_trait_selection/src | |
| parent | 903427b2e807cb1292388940b3f44f3b061cfebf (diff) | |
| parent | 645620b3b3c77e47fec44431e167555fe1339056 (diff) | |
| download | rust-09be68c869d95fe1df0f74a228569101c4e76be7.tar.gz rust-09be68c869d95fe1df0f74a228569101c4e76be7.zip | |
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
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/query/dropck_outlives.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/query/dropck_outlives.rs b/compiler/rustc_trait_selection/src/traits/query/dropck_outlives.rs index 2df0d9f0f6f..8997a7895ab 100644 --- a/compiler/rustc_trait_selection/src/traits/query/dropck_outlives.rs +++ b/compiler/rustc_trait_selection/src/traits/query/dropck_outlives.rs @@ -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>>>; |
