rust/src/test/ui/compare-method/region-extra.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

13 lines
404 B
Plaintext

error[E0276]: impl has stricter requirements than trait
--> $DIR/region-extra.rs:19:5
|
LL | fn foo();
| --------- definition of `foo` from trait
...
LL | fn foo() where 'a: 'b { } //~ ERROR impl has stricter
| ^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0276`.