about summary refs log tree commit diff
path: root/tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs
blob: 6566d8a11154c12ef6b9c4443f2ee87bf0ca0de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

#[cfg(FALSE)]
fn syntax() {
    foo::<T = u8, T: Ord, String>();
    //~^ WARN associated type bounds are unstable
    //~| WARN unstable syntax
    foo::<T = u8, 'a, T: Ord>();
    //~^ WARN associated type bounds are unstable
    //~| WARN unstable syntax
}

fn main() {}