diff options
| author | bors <bors@rust-lang.org> | 2023-11-22 21:09:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-22 21:09:01 +0000 |
| commit | 1e9dda77b5b8e690c7e21871bbd2dcf182e1a841 (patch) | |
| tree | ee39beab49d91d61008866f1818086d19db85c5e /compiler/rustc_serialize/src | |
| parent | 06d1afe5189bc0830b9b5654fd0ba89e9829f4cd (diff) | |
| parent | 128feaa2b40d063a834030d3ff9410c9327c5286 (diff) | |
| download | rust-1e9dda77b5b8e690c7e21871bbd2dcf182e1a841.tar.gz rust-1e9dda77b5b8e690c7e21871bbd2dcf182e1a841.zip | |
Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr
Remove `PredicateKind::ClosureKind` We don't need the `ClosureKind` predicate kind -- instead, `Fn`-family trait goals are left as ambiguous, and we only need to make progress on `FnOnce` projection goals for inference purposes. This is similar to how we do confirmation of `Fn`-family trait and projection goals in the new trait solver, which also doesn't use the `ClosureKind` predicate. Some hacky logic is added in the second commit so that we can keep the error messages the same.
Diffstat (limited to 'compiler/rustc_serialize/src')
0 files changed, 0 insertions, 0 deletions
