about summary refs log tree commit diff
path: root/tests/ui/parser/recover/recover-assoc-const-constraint.rs
blob: d938b4ccaca7e0cc7fd3c589a55ed758b6dcfa2e (plain)
1
2
3
4
5
6
7
8
9
#[cfg(false)]
fn syntax() {
    bar::<Item = 42>();
    //~^ ERROR associated const equality is incomplete
    bar::<Item = { 42 }>();
    //~^ ERROR associated const equality is incomplete
}

fn main() {}