summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/generic_const_exprs/issue-74713.rs
blob: 205d031d4a31047b586f3824e672eb035194e90e (plain)
1
2
3
4
5
6
7
8
fn bug<'a>()
where
    [(); { //~ ERROR mismatched types
        let _: &'a (); //~ ERROR generic parameters may not be used in const operations
    }]:
{}

fn main() {}