summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs
blob: d8346653c25aa01ac3d3e6f039a700bda678dec2 (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() {}