]> git.lizzy.rs Git - rust.git/blob - src/test/ui/compare-method/region-extra-2.stderr
Do not show `::constructor` on tuple struct diagnostics
[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:19:5
3    |
4 15 |       fn renew<'b: 'a>(self) -> &'b mut [T];
5    |       -------------------------------------- definition of `renew` from trait
6 ...
7 19 |       fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {
8    |  _____^ starting here...
9 20 | |         //~^ ERROR E0276
10 21 | |         &mut self[..]
11 22 | |     }
12    | |_____^ ...ending here: impl has extra requirement `'a: 'b`
13
14 error: aborting due to previous error
15