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