]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-62326-parameter-out-of-range.rs
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[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() {}