error[E0308]: mismatched types | |
--> $DIR/hrtb-perfect-forwarding.rs:46:5 | |
| | |
LL | foo_hrtb_bar_not(&mut t); | |
| ^^^^^^^^^^^^^^^^ one type is more general than the other | |
| | |
= note: expected type `Bar<&'a isize>` | |
found type `Bar<&'b isize>` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0308`. |