]> git.proxmox.com Git - rustc.git/blob - src/test/ui/compare-method/region-extra-2.stderr
New upstream version 1.19.0+dfsg1
[rustc.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 20 | | //~^ ERROR E0276
9 21 | | &mut self[..]
10 22 | | }
11 | |_____^ impl has extra requirement `'a: 'b`
12
13 error: aborting due to previous error(s)
14