Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
someguynamedjosh committed Oct 18, 2021
1 parent 0607c5b commit 885fcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/src/fail_tests/borrowchk_custom_drop.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ error[E0597]: `bar` does not live long enough
| ^^^^^^^^^^^^^^^^^^-
| | |
| | `bar` dropped here while still borrowed
| | borrow might be used here, when `bar` is dropped and runs the `Drop` code for type `AliasableBox`
| | borrow might be used here, when `bar` is dropped and runs the `Drop` code for type `Bar`
| borrowed value does not live long enough
|
= note: this error originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

0 comments on commit 885fcf9

Please sign in to comment.