]> git.lizzy.rs Git - rust.git/blob - src/test/ui/compare-method/region-extra-2.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / compare-method / region-extra-2.stderr
1 error[E0276]: impl has stricter requirements than trait
2   --> $DIR/region-extra-2.rs:9:5
3    |
4 LL |     fn renew<'b: 'a>(self) -> &'b mut [T];
5    |     -------------------------------------- definition of `renew` from trait
6 ...
7 LL |     fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {
8    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0276`.