]> git.proxmox.com Git - rustc.git/blame - src/test/ui/compare-method/trait-bound-on-type-parameter.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / compare-method / trait-bound-on-type-parameter.stderr
CommitLineData
c30ab7b3 1error[E0276]: impl has stricter requirements than trait
0731742a 2 --> $DIR/trait-bound-on-type-parameter.rs:15:5
c30ab7b3 3 |
0531ce1d 4LL | fn b<C,D>(&self, x: C) -> C;
c30ab7b3
SL
5 | ---------------------------- definition of `b` from trait
6...
532ac7d7 7LL | fn b<F: Sync, G>(&self, _x: F) -> F { panic!() }
1b1a35ee 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `F: Sync`
c30ab7b3 9
041b39d2 10error: aborting due to previous error
c30ab7b3 11
0531ce1d 12For more information about this error, try `rustc --explain E0276`.