]> git.lizzy.rs Git - rust.git/blob - tests/pretty/where-clauses.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / pretty / where-clauses.rs
1 // pp-exact
2
3 fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }
4
5 // This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
6 fn zero_bounds<'a, T>() where 'a:, T: {}
7
8 fn main() {}