2018-07-23 09:30:59 -05:00
|
|
|
error: higher-ranked subtype error
|
|
|
|
--> $DIR/hr-fn-aaa-as-aba.rs:24:58
|
|
|
|
|
|
|
|
|
LL | let a: for<'a, 'b> fn(&'a u32, &'b u32) -> &'a u32 = make_it();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2018-08-31 18:20:43 -05:00
|
|
|
error: higher-ranked subtype error
|
|
|
|
--> $DIR/hr-fn-aaa-as-aba.rs:24:9
|
|
|
|
|
|
|
|
|
LL | let a: for<'a, 'b> fn(&'a u32, &'b u32) -> &'a u32 = make_it();
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-07-23 09:30:59 -05:00
|
|
|
|