]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/span/issue-24895-copy-clone-dropck.nll.stderr
Suggest that values are dropped in the opposite order they are defined
[rust.git] / src / test / ui / span / issue-24895-copy-clone-dropck.nll.stderr
index 550f9d8b60de0684ab0686884182d847bea0a226..c89e68bcd0ae06f0ef10d18f705dbcb17b898133 100644 (file)
@@ -8,6 +8,8 @@ LL | }
    | |
    | borrowed value only lives until here
    | borrow later used here, when `d2` is dropped
+   |
+   = note: values in a scope are dropped in the opposite order they are defined
 
 error: aborting due to previous error