Skip to content

Commit

Permalink
minor fallout from the change.
Browse files Browse the repository at this point in the history
(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.)
  • Loading branch information
pnkfelix committed Aug 1, 2018
1 parent c3618c8 commit 88284ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/test/ui/generator/dropck.nll.stderr
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/test/ui/span/dropck-object-cycle.nll.stderr
Expand Up @@ -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

Expand Down

0 comments on commit 88284ba

Please sign in to comment.