]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0202.md
Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup
[rust.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