]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/where-clauses.rs
Comment a bit, use find_ancestor_in_same_ctxt to suppress some weird macro notes
[rust.git] / src / test / 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() {}