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_middle/src/query | |
| 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_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index cd6ff8254ad..95260e9e917 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -549,7 +549,7 @@ rustc_queries! { query adt_dtorck_constraint( key: DefId - ) -> Result<&'tcx DtorckConstraint<'tcx>, NoSolution> { + ) -> Result<&'tcx DropckConstraint<'tcx>, NoSolution> { desc { |tcx| "computing drop-check constraints for `{}`", tcx.def_path_str(key) } } |
