rust/compiler/rustc_middle/src
bors 1e9dda77b5 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.
2023-11-22 21:09:01 +00:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer Uplift CanonicalVarInfo and friends 2023-11-21 17:49:57 +00:00
middle Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
mir Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin 2023-11-22 09:28:51 -08:00
query Allow defining opaques in check_coroutine_obligations 2023-11-22 03:44:13 +00:00
thir Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
traits Auto merge of #118152 - matthiaskrgr:rollup-bqcck4w, r=matthiaskrgr 2023-11-22 00:30:56 +00:00
ty Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
util Merge ExternProviders into the general Providers struct 2023-09-22 20:15:34 +00:00
arena.rs Remove unused arena kinds in rustc_hir and rustc_middle. 2023-11-20 15:05:26 +11:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs Stabilize RFC3324 dyn upcasting coercion 2023-11-22 13:56:36 +01:00
lint.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
macros.rs Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs
thir.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
values.rs make LayoutError::Cycle carry ErrorGuaranteed 2023-11-12 18:59:18 +00:00