]> git.lizzy.rs Git - rust.git/commitdiff
minor fallout from the change.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 27 Jul 2018 15:58:17 +0000 (17:58 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 1 Aug 2018 15:44:52 +0000 (17:44 +0200)
(Presumably the place that borrow_check ends up reporting for the
error about is no longer the root `Local` itself, and thus the note
diagnostic here stops firing.)

src/test/ui/generator/dropck.nll.stderr
src/test/ui/span/dropck-object-cycle.nll.stderr

index ef7e64ffd97ae251494a68b10e5b8548955c115b..b49bf81715079006535a47584eeeb1917b104e59 100644 (file)
@@ -9,8 +9,6 @@ LL | }
    | |
    | `*cell` dropped here while still borrowed
    | borrow later used here, when `gen` is dropped
-   |
-   = note: values in a scope are dropped in the opposite order they are defined
 
 error[E0597]: `ref_` does not live long enough
   --> $DIR/dropck.rs:22:11
index 225ed0f9cc832c50b66076604ea79f2190e3a316..08e4b9ec9faa2b055b1dacda481ac3232639ea48 100644 (file)
@@ -9,8 +9,6 @@ LL | }
    | |
    | `*m` dropped here while still borrowed
    | borrow later used here, when `m` is dropped
-   |
-   = note: values in a scope are dropped in the opposite order they are defined
 
 error: aborting due to previous error