]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-fn-inputs.stderr
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / ui / coherence / coherence-fn-inputs.stderr
1 error[E0119]: conflicting implementations of trait `Trait` for type `for<'a, 'b> fn(&'a u32, &'b u32)`
2   --> $DIR/coherence-fn-inputs.rs:15:1
3    |
4 LL | impl Trait for for<'a, 'b> fn(&'a u32, &'b u32) {}
5    | ----------------------------------------------- first implementation here
6 LL | impl Trait for for<'c> fn(&'c u32, &'c u32) {
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `for<'a, 'b> fn(&'a u32, &'b u32)`
8    |
9    = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0119`.