summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-assoc-const-constraint.rs
blob: 1453e6cb5cd7c654a71af7d82449103c42901d32 (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() {}