]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/compare-method/region-extra-2.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / compare-method / region-extra-2.stderr
index 2b8a268fdcc367d0cbb8ac99af1971e2beef2d42..4e4f0d7c7bcee2a0083d9396c94680ad626f4b15 100644 (file)
@@ -1,11 +1,12 @@
 error[E0276]: impl has stricter requirements than trait
   --> $DIR/region-extra-2.rs:19:5
    |
-15 |     fn renew<'b: 'a>(self) -> &'b mut [T];
+LL |     fn renew<'b: 'a>(self) -> &'b mut [T];
    |     -------------------------------------- definition of `renew` from trait
 ...
-19 |     fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {
+LL |     fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0276`.