fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/higher-ranked-implied.rs:12:16 3 | 4LL | let y: B = x; 5 | - ^ one type is more general than the other 6 | | 7 | expected due to this 8 | 9 = note: expected fn pointer `for<'a, 'b> fn(Inv<&'a &'b ()>, Inv<&'b &'a ()>, Inv<&'b ()>)` 10 found fn pointer `for<'a, 'b> fn(Inv<&'a &'b ()>, Inv<&'b &'a ()>, Inv<&'a ()>)` 11 12error[E0308]: mismatched types 13 --> $DIR/higher-ranked-implied.rs:13:16 14 | 15LL | let _: A = y; 16 | - ^ one type is more general than the other 17 | | 18 | expected due to this 19 | 20 = note: expected fn pointer `for<'a, 'b> fn(Inv<&'a &'b ()>, Inv<&'b &'a ()>, Inv<&'a ()>)` 21 found fn pointer `for<'a, 'b> fn(Inv<&'a &'b ()>, Inv<&'b &'a ()>, Inv<&'b ()>)` 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0308`.