summaryrefslogtreecommitdiff
path: root/tests/ui/const-generics/issues/issue-83993.rs
blob: f2f05d9526bc5f898516a4c6b3ca909432496c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// check-pass

#![feature(generic_const_exprs)]
#![allow(incomplete_features)]

fn bug<'a>()
where
    for<'b> [(); {
        let x: &'b ();
        0
    }]:
{}

fn main() {}