rust/src/test/ui/nll/relate_tys/hr-fn-aaa-as-aba.stderr

15 lines
430 B
Plaintext
Raw Normal View History

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();
| ^^^^^^^^^
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