]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-subtyping.old.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / coherence / coherence-subtyping.old.stderr
1 error[E0119]: conflicting implementations of trait `TheTrait` for type `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`:
2   --> $DIR/coherence-subtyping.rs:15:1
3    |
4 LL | impl TheTrait for for<'a,'b> fn(&'a u8, &'b u8) -> &'a u8 {
5    | --------------------------------------------------------- first implementation here
6 ...
7 LL | impl TheTrait for for<'a> fn(&'a u8, &'a u8) -> &'a u8 {
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
9    |
10    = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0119`.