| error[E0308]: mismatched types |
| --> $DIR/hr-subtype.rs:39:26 |
| | |
| LL | gimme::<$t1>(None::<$t2>); |
| | ^^^^^^^^^^^ expected concrete lifetime, found bound lifetime parameter 'a |
| ... |
| LL | / check! { bound_inv_a_b_vs_bound_inv_a: (for<'a,'b> fn(Inv<'a>, Inv<'b>), |
| LL | | for<'a> fn(Inv<'a>, Inv<'a>)) } |
| | |__________________________________________________________________________- in this macro invocation |
| | |
| = note: expected type `std::option::Option<for<'a, 'b> fn(Inv<'a>, Inv<'b>)>` |
| found type `std::option::Option<for<'a> fn(Inv<'a>, Inv<'a>)>` |
| |
| error: aborting due to previous error |
| |
| For more information about this error, try `rustc --explain E0308`. |