]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / parser / constraints-before-generic-args-syntactic-pass.rs
1 // check-pass
2
3 #[cfg(FALSE)]
4 fn syntax() {
5     foo::<T = u8, T: Ord, String>();
6     //~^ WARN associated type bounds are unstable
7     //~| WARN unstable syntax
8     foo::<T = u8, 'a, T: Ord>();
9     //~^ WARN associated type bounds are unstable
10     //~| WARN unstable syntax
11 }
12
13 fn main() {}