summary refs log tree commit diff
path: root/src/test/ui/compare-method/region-extra.stderr
blob: e657813221a1265e9854a8728e4055a91be39df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0276]: impl has stricter requirements than trait
  --> $DIR/region-extra.rs:22:5
   |
18 |     fn foo();
   |     --------- definition of `foo` from trait
...
22 |     fn foo() where 'a: 'b { }
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`

error: aborting due to previous error