]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-62326-parameter-out-of-range.rs
Don't use spaces before type ascription like colons
[rust.git] / src / test / ui / generic-associated-types / issue-62326-parameter-out-of-range.rs
1 #![allow(incomplete_features)]
2 #![feature(generic_associated_types)]
3
4 // FIXME(generic-associated-types) Investigate why this doesn't compile.
5
6 trait Iterator {
7     //~^ ERROR the requirement `for<'a> <Self as Iterator>::Item<'a>: 'a` is not satisfied
8     type Item<'a>: 'a;
9 }
10
11 fn main() {}