rust/src/test/ui/compare-method/region-extra.stderr

12 lines
315 B
Plaintext
Raw Normal View History

error[E0276]: impl has stricter requirements than trait
--> $DIR/region-extra.rs:22:5
|
18 | fn foo();
| --------- definition of `foo` from trait
...
2016-10-12 15:38:58 -05:00
22 | fn foo() where 'a: 'b { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
error: aborting due to previous error(s)