summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/where-clauses.rs
blob: 4183799457b7fb0c744dc321fed0d1a92ee87185 (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() {}