about summary refs log tree commit diff
path: root/src/librustdoc/scrape_examples.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-22 21:09:01 +0000
committerbors <bors@rust-lang.org>2023-11-22 21:09:01 +0000
commit1e9dda77b5b8e690c7e21871bbd2dcf182e1a841 (patch)
treeee39beab49d91d61008866f1818086d19db85c5e /src/librustdoc/scrape_examples.rs
parent06d1afe5189bc0830b9b5654fd0ba89e9829f4cd (diff)
parent128feaa2b40d063a834030d3ff9410c9327c5286 (diff)
downloadrust-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 'src/librustdoc/scrape_examples.rs')
0 files changed, 0 insertions, 0 deletions