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:
InfRandomness 2022-03-24 19:21:41 +01:00
parent 8d8135f003
commit 645620b3b3
6 changed files with 19 additions and 19 deletions

View file

@ -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) }
}