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 12:53:01 +00:00
fn f<'a, 'b, T>(t: T) -> isize where T: 'a, 'a: 'b, T: Eq { 0 }
2014-12-20 13:41:33 +00:00
// This is legal syntax, sometimes generated by macros. `where T: $($bound+)*`
fn zero_bounds<'a, T>() where 'a:, T: {}
2021-12-01 19:45:14 +00:00
fn main() {}