]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/issue-62326-parameter-out-of-range.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / generic-associated-types / issue-62326-parameter-out-of-range.rs
1 // check-pass
2
3 trait Iterator {
4     type Item<'a>: 'a;
5 }
6
7 impl Iterator for () {
8     type Item<'a> = &'a ();
9 }
10
11 fn main() {}