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
..
2023-04-03 09:24:11 +02:00
2023-04-03 09:24:07 +02:00
2023-04-03 09:24:11 +02:00
2023-04-03 15:59:21 +00:00
2023-04-11 17:45:42 +00:00
2023-04-03 09:24:11 +02:00
2023-04-08 08:50:46 +00:00
2023-04-03 09:24:11 +02:00
2023-04-03 09:24:11 +02:00
2023-04-07 18:07:11 +10:00
2023-04-05 01:01:45 +09:00
2023-04-03 15:59:21 +00:00
2023-04-07 09:11:53 +02:00
2023-04-03 09:24:11 +02:00
2023-04-03 15:59:21 +00:00
2023-04-03 15:59:21 +00:00
2023-04-04 14:10:13 +01:00
2023-04-03 09:24:11 +02:00
2023-03-22 15:15:41 -07:00
2023-03-29 18:04:44 -04:00
2023-04-05 15:59:29 +00:00
2023-04-10 16:08:14 +00:00
2023-04-05 15:59:29 +00:00