]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-62326-parameter-out-of-range.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[rust.git] / src / test / ui / generic-associated-types / issue-62326-parameter-out-of-range.rs
1 #![feature(generic_associated_types)]
2
3 // check-pass
4
5 trait Iterator {
6     type Item<'a>: 'a;
7 }
8
9 impl Iterator for () {
10     type Item<'a> = &'a ();
11 }
12
13 fn main() {}