]> git.lizzy.rs Git - rust.git/commitdiff
Rebase fallout.
authorCamille GILLOT <gillot.camille@gmail.com>
Sun, 29 May 2022 10:24:18 +0000 (12:24 +0200)
committerCamille GILLOT <gillot.camille@gmail.com>
Sun, 29 May 2022 10:24:18 +0000 (12:24 +0200)
src/test/ui/nll/issue-52742.nll.stderr

index 6828418a78ec1afa0f719a2c7c1395d20d51c9e5..1a2165e0a9dac1578af9ee00974cd4e37901d4a4 100644 (file)
@@ -2,7 +2,7 @@ error: lifetime may not live long enough
   --> $DIR/issue-52742.rs:17:9
    |
 LL |     fn take_bar(&mut self, b: Bar<'_>) {
-   |                 ---------         -- let's call this `'1`
+   |                 ---------  - has type `Bar<'1>`
    |                 |
    |                 has type `&mut Foo<'_, '2>`
 LL |         self.y = b.z