summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/late-bound-vars/late-bound-in-where-issue-83993.rs
blob: 89f01748fc90a47ea345400364199e5df9654692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// known-bug: unknown
// see comment on `tests/ui/const-generics/late-bound-vars/simple.rs`

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

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

fn main() {}