rust/tests/pretty/where-clauses.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
212 B
Rust
Raw Normal View History

// pp-exact
2016-06-29 07:53:01 -05:00
fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }
2014-12-20 07:41:33 -06:00
// This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
fn zero_bounds<'a, T>() where 'a:, T: {}
2021-12-01 13:45:14 -06:00
fn main() {}