rust/compiler
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
..
rustc Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_abi Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_arena Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_ast Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_ast_lowering Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_ast_passes Auto merge of #117928 - nnethercote:rustc_ast_pretty, r=fee1-dead 2023-11-22 05:09:33 +00:00
rustc_ast_pretty Auto merge of #117928 - nnethercote:rustc_ast_pretty, r=fee1-dead 2023-11-22 05:09:33 +00:00
rustc_attr Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_baked_icu_data Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_borrowck Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_builtin_macros Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_codegen_cranelift Merge commit 'def04540a4e2541b995195c752c751295606a388' into sync_cg_clif-2023-11-16 2023-11-16 21:15:07 +00:00
rustc_codegen_gcc Pass TyCtxt by value 2023-11-19 14:04:40 -05:00
rustc_codegen_llvm Rollup merge of #118142 - saethlin:llvm-linkage, r=tmiasko 2023-11-22 09:28:51 -08:00
rustc_codegen_ssa Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin 2023-11-22 09:28:51 -08:00
rustc_const_eval Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin 2023-11-22 09:28:51 -08:00
rustc_data_structures Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_driver Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_driver_impl Merge Queries::{ongoing_codegen,linker}. 2023-11-22 13:22:49 +11:00
rustc_error_codes Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_error_messages Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_errors Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_expand Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_feature Stabilize RFC3324 dyn upcasting coercion 2023-11-22 13:56:36 +01:00
rustc_fluent_macro Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_fs_util Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_graphviz Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_hir Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_hir_analysis Rollup merge of #118161 - compiler-errors:coroutine-obligation-opaques, r=lcnr 2023-11-22 09:28:52 -08:00
rustc_hir_pretty Auto merge of #117928 - nnethercote:rustc_ast_pretty, r=fee1-dead 2023-11-22 05:09:33 +00:00
rustc_hir_typeck Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
rustc_incremental Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_index Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_index_macros Document newtype_index attributes. 2023-11-22 18:38:20 +11:00
rustc_infer Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
rustc_interface Auto merge of #118086 - nnethercote:queries-cleanups, r=bjorn3 2023-11-22 11:44:56 +00:00
rustc_lexer Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_lint Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin 2023-11-22 16:15:34 +00:00
rustc_lint_defs Remove --check-cfg checking of --cfg args 2023-11-18 12:21:58 +01:00
rustc_llvm Tighten up linkage settings for LLVM bindings 2023-11-21 13:43:11 -05:00
rustc_log rustc_log: provide a way to init logging based on the values, not names, of the env vars 2023-11-11 15:24:33 +01:00
rustc_macros Unify HashStable implementations 2023-11-21 05:49:45 +00:00
rustc_metadata Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin 2023-11-22 09:28:51 -08:00
rustc_middle Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
rustc_mir_build Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_mir_dataflow Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_mir_transform Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_monomorphize Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_parse Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_parse_format Auto merge of #117819 - fmease:rustc_parse_format-stable-rustc, r=Nilstrieb 2023-11-15 14:55:35 +00:00
rustc_passes Replace custom_encodable with encodable. 2023-11-22 18:37:14 +11:00
rustc_privacy Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_query_impl Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_query_system Replace custom_encodable with encodable. 2023-11-22 18:37:14 +11:00
rustc_resolve Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
rustc_serialize Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_session Rollup merge of #118013 - sivadeilra:user/ardavis/ehcont, r=wesleywiser 2023-11-22 09:28:50 -08:00
rustc_smir Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
rustc_span Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_symbol_mangling Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin 2023-11-22 09:28:51 -08:00
rustc_target Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
rustc_trait_selection Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
rustc_traits Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
rustc_transmute Update itertools to 0.11. 2023-11-22 08:13:21 +11:00
rustc_ty_utils Auto merge of #117928 - nnethercote:rustc_ast_pretty, r=fee1-dead 2023-11-22 05:09:33 +00:00
rustc_type_ir Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00
stable_mir Auto merge of #118120 - compiler-errors:closure-kind, r=lcnr 2023-11-22 21:09:01 +00:00