]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hr-subtype/hr-subtype.bound_inv_a_b_vs_bound_inv_a.stderr
5fec1e9a92eaecbee6332c74d0b6ac80062223fa
[rust.git] / src / test / ui / hr-subtype / hr-subtype.bound_inv_a_b_vs_bound_inv_a.stderr
1 error[E0308]: mismatched types
2   --> $DIR/hr-subtype.rs:45:26
3    |
4 LL |               gimme::<$t1>(None::<$t2>);
5    |                            ^^^^^^^^^^^ expected concrete lifetime, found bound lifetime parameter 'a
6 ...
7 LL | / check! { bound_inv_a_b_vs_bound_inv_a: (for<'a,'b> fn(Inv<'a>, Inv<'b>),
8 LL | | for<'a>    fn(Inv<'a>, Inv<'a>)) }
9    | |__________________________________- in this macro invocation
10    |
11    = note: expected enum `std::option::Option<for<'a, 'b> fn(Inv<'a>, Inv<'b>)>`
12               found enum `std::option::Option<for<'a> fn(Inv<'a>, Inv<'a>)>`
13    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0308`.