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
213 B
Rust
Raw Normal View History

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