summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-86483.rs
blob: 07dd0bffd4685900d5db37878e472cc05fea3fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Regression test of #86483.
//
// Made to pass as part of fixing #98095.
//
// check-pass

#![feature(generic_associated_types)]

pub trait IceIce<T>
where
    for<'a> T: 'a,
{
    type Ice<'v>: IntoIterator<Item = &'v T>;
}

fn main() {}