error[E0308]: mismatched types --> $DIR/higher-ranked-projection.rs:25:5 | LL | foo(()); | ^^^ lifetime mismatch | = note: expected type `&'a ()` found type `&()` note: the lifetime requirement is introduced here --> $DIR/higher-ranked-projection.rs:15:33 | LL | where for<'a> &'a T: Mirror | ^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0308`.