rust/compiler
Matthias Krüger 214e4ef4ef
Rollup merge of #110237 - oli-obk:impl_trait_in_assoc_tys, r=jackh726
Split out a separate feature gate for impl trait in associated types

in https://github.com/rust-lang/rust/issues/107645 it was decided that we'll take a new route for type alias impl trait. The exact route isn't clear yet, so while I'm working on implementing some of these proposed changes (e.g. in https://github.com/rust-lang/rust/pull/110010) to be able to experiment with them, I will also work on stabilizing another sugar version first: impl trait in associated types. Similarly I'll look into creating feature gates for impl trait in const/static types.

This PR does nothing but split the feature gate, so that you need to enable a different feature gate for

```rust
impl Trait for Type {
    type Assoc = impl SomeTrait;
}
```

than what you need for `type Foo = impl SomeTrait;`
2023-04-12 20:56:24 +02:00
..
rustc
rustc_abi Fix some clippy::complexity 2023-04-09 23:22:14 +02:00
rustc_apfloat
rustc_arena Allow clippy::from_mut_ref 2023-04-09 22:29:56 +02:00
rustc_ast Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk 2023-04-12 20:56:22 +02:00
rustc_ast_lowering Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk 2023-04-12 20:56:22 +02:00
rustc_ast_passes Rollup merge of #110237 - oli-obk:impl_trait_in_assoc_tys, r=jackh726 2023-04-12 20:56:24 +02:00
rustc_ast_pretty Remove .. from return type notation 2023-04-10 22:19:46 +00:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #110175 - nnethercote:symbol-cleanups, r=jackh726 2023-04-12 20:56:22 +02:00
rustc_builtin_macros Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_codegen_cranelift
rustc_codegen_gcc Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
rustc_codegen_llvm Auto merge of #109862 - klensy:llvm-dd, r=nikic 2023-04-08 15:57:59 +00:00
rustc_codegen_ssa Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_const_eval Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_data_structures Inline format_args 2023-04-09 23:29:39 +02:00
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors 2023-04-11 14:40:54 +00:00
rustc_expand Rollup merge of #110222 - lovelymono:rustc-expand-mbe-diagnostic, r=davidtwco 2023-04-12 20:56:24 +02:00
rustc_feature Rollup merge of #110237 - oli-obk:impl_trait_in_assoc_tys, r=jackh726 2023-04-12 20:56:24 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Fix some clippy::complexity 2023-04-09 23:22:14 +02:00
rustc_hir_analysis Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_hir_pretty Remove identity casts 2023-04-09 23:22:14 +02:00
rustc_hir_typeck Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_incremental
rustc_index Fix some clippy::complexity 2023-04-09 23:22:14 +02:00
rustc_infer Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_interface Migrate sess.opts.tests uses to sess.is_test_crate() 2023-04-09 21:37:31 +02:00
rustc_lexer
rustc_lint Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_lint_defs Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_llvm Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
rustc_log
rustc_macros Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors 2023-04-11 14:40:54 +00:00
rustc_metadata Split implied and super predicate queries 2023-04-11 17:45:42 +00:00
rustc_middle Rollup merge of #110175 - nnethercote:symbol-cleanups, r=jackh726 2023-04-12 20:56:22 +02:00
rustc_mir_build Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_mir_dataflow Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_mir_transform Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_monomorphize Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_parse Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk 2023-04-12 20:56:22 +02:00
rustc_parse_format Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_passes Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk 2023-04-12 20:56:22 +02:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Auto merge of #109935 - michaelwoerister:fix-feed-in-eval-always, r=cjgillot 2023-04-12 11:16:35 +00:00
rustc_resolve Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk 2023-04-12 20:56:22 +02:00
rustc_serialize
rustc_session Rollup merge of #110124 - Nilstrieb:📎-told-me-so, r=compiler-errors 2023-04-10 14:13:16 +05:30
rustc_smir
rustc_span Rollup merge of #110237 - oli-obk:impl_trait_in_assoc_tys, r=jackh726 2023-04-12 20:56:24 +02:00
rustc_symbol_mangling
rustc_target Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_trait_selection Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb 2023-04-12 20:56:21 +02:00
rustc_traits
rustc_transmute Some simple clippy::perf fixes 2023-04-09 21:59:28 +02:00
rustc_ty_utils Update ty_utils_never_to_any_not_supported diagnostic message 2023-04-10 22:03:08 +02:00
rustc_type_ir Fix typos in compiler 2023-04-10 22:02:52 +02:00