about summary refs log tree commit diff
path: root/tests/pretty/where-clauses.rs
blob: 27807d4c3820eba4d15979ea9035a68d3ae9e908 (plain)
1
2
3
4
5
6
7
8
//@ pp-exact

fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }

// This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
fn zero_bounds<'a, T>() where 'a:, T: {}

fn main() {}