]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/issue-62326-parameter-out-of-range.rs
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[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() {}