]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/constraints-before-generic-args-syntactic-pass.rs
Auto merge of #100678 - GuillaumeGomez:improve-rustdoc-json-tests, r=aDotInTheVoid
[rust.git] / src / test / 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() {}