Files
rust/compiler/rustc_error_codes/src/error_codes
Yuki Okushi 5e68c60406 Rollup merge of #82516 - PoignardAzur:inherent-impl-ty, r=oli-obk
Add incomplete feature gate for inherent associate types.

Mentored by ``````@oli-obk``````

So far the only change is that instead of giving an automatic error, the following code compiles:

```rust
struct Foo;

impl Foo {
    type Bar = isize;
}
```

The backend work to make it actually usable isn't there yet. In particular, this:

```rust
let x : Foo::Bar;
```

will give you:

```sh
error[E0223]: ambiguous associated type
  --> /$RUSTC_DIR/src/test/ui/assoc-inherent.rs:15:13
   |
LL |     let x : Foo::Bar;
   |             ^^^^^^^^ help: use fully-qualified syntax: `<Foo as Trait>::Bar`
```
2021-03-02 21:23:15 +09:00
..
2021-01-13 07:49:16 -05:00
2021-01-24 00:17:40 -05:00
2021-01-24 00:17:40 -05:00
2021-01-24 00:17:40 -05:00
2020-09-15 18:10:41 +02:00
2021-01-13 07:49:16 -05:00
2020-12-04 22:17:06 +09:00
2020-09-01 23:05:56 +10:00
2020-10-25 12:20:25 +01:00
2021-01-15 16:50:48 +11:00
2020-12-06 20:30:07 +00:00
2020-10-10 18:02:53 +09:00
2020-09-01 18:38:14 +01:00
2021-01-07 20:20:58 +09:00
2021-01-13 07:49:16 -05:00
2021-01-13 07:49:16 -05:00
2021-01-13 07:49:16 -05:00
2021-01-13 07:49:16 -05:00
2021-02-01 18:22:13 +01:00
2021-02-17 18:08:30 +01:00
2021-02-15 19:16:39 +01:00
2020-09-07 18:48:22 -07:00
2021-01-13 07:49:16 -05:00
2020-10-06 11:22:24 -07:00
2021-01-13 07:49:16 -05:00
2020-12-26 18:24:10 +01:00
2020-09-08 21:07:52 +02:00
2020-09-21 21:04:56 +02:00
2021-01-30 09:48:37 -05:00
2020-08-31 20:14:37 +02:00
2020-08-31 20:10:57 +02:00
2020-12-26 18:24:10 +01:00
2020-09-08 21:32:03 +02:00
2020-09-30 18:10:17 +01:00
2020-09-30 18:10:17 +01:00