diff options
| author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2022-10-03 12:14:48 +0300 |
|---|---|---|
| committer | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2022-11-05 07:36:42 +0300 |
| commit | df668b9fb960855ca1483ea520862c1eb8184d25 (patch) | |
| tree | f67439585c9bae48217da5e43f95e5b4da5e95a9 /compiler/rustc_query_impl/src | |
| parent | 81ff7e7385be9846f28616081e836163a36681da (diff) | |
| download | rust-df668b9fb960855ca1483ea520862c1eb8184d25.tar.gz rust-df668b9fb960855ca1483ea520862c1eb8184d25.zip | |
simplify applying closure requirements
Don't use `ConstraintCategory::ClosureBounds`! Set the category and the span for the promoted constraints to that of the original constraint earlier than before. This eliminates the need for `closure_bounds_mapping`.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
