Skip to content

Commit 88284ba

Browse files
committed
minor fallout from the change.
(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.)
1 parent c3618c8 commit 88284ba

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/test/ui/generator/dropck.nll.stderr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ LL | }
99
| |
1010
| `*cell` dropped here while still borrowed
1111
| borrow later used here, when `gen` is dropped
12-
|
13-
= note: values in a scope are dropped in the opposite order they are defined
1412

1513
error[E0597]: `ref_` does not live long enough
1614
--> $DIR/dropck.rs:22:11

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ LL | }
99
| |
1010
| `*m` dropped here while still borrowed
1111
| borrow later used here, when `m` is dropped
12-
|
13-
= note: values in a scope are dropped in the opposite order they are defined
1412

1513
error: aborting due to previous error
1614

0 commit comments

Comments
 (0)