]> git.lizzy.rs Git - rust.git/blob - src/test/ui/assoc-inherent.rs
Auto merge of #60072 - RalfJung:linked-list, r=shepmaster
[rust.git] / src / test / ui / assoc-inherent.rs
1 // Test associated types are, until #8995 is implemented, forbidden in inherent impls.
2
3 struct Foo;
4
5 impl Foo {
6     type Bar = isize; //~ERROR associated types are not yet supported in inherent impls (see #8995)
7 }
8
9 fn main() {}