15 lines
731 B
Plaintext
15 lines
731 B
Plaintext
error[E0119]: conflicting implementations of trait `TheTrait` for type `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`:
|
|
--> $DIR/coherence-subtyping.rs:15:1
|
|
|
|
|
LL | impl TheTrait for for<'a,'b> fn(&'a u8, &'b u8) -> &'a u8 {
|
|
| --------------------------------------------------------- first implementation here
|
|
...
|
|
LL | impl TheTrait for for<'a> fn(&'a u8, &'a u8) -> &'a u8 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
|
|
|
|
|
= note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|