]> git.lizzy.rs Git - rust.git/blob - tests/pretty/where-clauses.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[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() {}