]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_error_codes/src/error_codes/E0202.md
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / compiler / rustc_error_codes / src / error_codes / E0202.md
1 Inherent associated types were part of [RFC 195] but are not yet implemented.
2 See [the tracking issue][iss8995] for the status of this implementation.
3
4 Erroneous code example:
5
6 ```compile_fail,E0202
7 struct Foo;
8
9 impl Foo {
10 type Bar = isize; // error!
11 }
12 ```
13
14 [RFC 195]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md
15 [iss8995]: https://github.com/rust-lang/rust/issues/8995