File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ const DROP_COPY_SUMMARY: &str = "calls to `std::mem::drop` with a value that imp
180180const FORGET_COPY_SUMMARY : & str = "calls to `std::mem::forget` with a value that implements `Copy`. \
181181 Forgetting a copy leaves the original intact";
182182const DROP_NON_DROP_SUMMARY : & str = "call to `std::mem::drop` with a value that does not implement `Drop`. \
183- Dropping such a type only extends it's contained lifetimes";
183+ Dropping such a type only extends its contained lifetimes";
184184const FORGET_NON_DROP_SUMMARY : & str = "call to `std::mem::forget` with a value that does not implement `Drop`. \
185185 Forgetting such a type is the same as dropping it";
186186
Original file line number Diff line number Diff line change 1- error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends it's contained lifetimes
1+ error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
22 --> $DIR/drop_non_drop.rs:22:5
33 |
44LL | drop(Foo);
@@ -11,7 +11,7 @@ note: argument has type `main::Foo`
1111LL | drop(Foo);
1212 | ^^^
1313
14- error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends it's contained lifetimes
14+ error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
1515 --> $DIR/drop_non_drop.rs:37:5
1616 |
1717LL | drop(Baz(Foo));
You can’t perform that action at this time.
0 commit comments