summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-rank-trait-bounds/issue-88586-hr-self-outlives-in-trait-def.rs
blob: 92b7c5deb812e2946573db4516e454d06b5f8e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Regression test for #88586: a higher-ranked outlives bound on Self in a trait
// definition caused an ICE when debug_assertions were enabled.
//
// Made to pass as part of fixing #98095.
//
// check-pass

trait A where
    for<'a> Self: 'a,
{
}

fn main() {}