1 // rustfmt-spaces_within_angle_brackets: true
29 fn foo< T, E >(a: T, b: E) {
30 foo::< u32, str >(10, "bar");
33 fn foo< T: Send, E: Send >(a: T, b: E) {
35 foo::< u32, str >(10, "bar");
37 let opt: Option< u32 >;
38 let res: Result< u32, String >;
41 fn foo< 'a >(a: &'a str) {
45 fn foo< 'a, 'b >(a: &'a str, b: &'b str) {
51 < Foo as Foo >::bar();
55 trait MyTrait< A, D > {}
56 impl< A: Send, D: Send > MyTrait< A, D > for Foo {}
58 fn foo() where for< 'a > u32: 'a {}