From 9b3295ce61692ad13437855f02581e7cdaea39d7 Mon Sep 17 00:00:00 2001 From: lcnr Date: Tue, 18 Apr 2023 14:26:34 +0200 Subject: [PATCH] Update text/3417-dropck-eyepatch-v3.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bennet Bleßmann --- text/3417-dropck-eyepatch-v3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/3417-dropck-eyepatch-v3.md b/text/3417-dropck-eyepatch-v3.md index 654c5c51e0e..b7c81615a10 100644 --- a/text/3417-dropck-eyepatch-v3.md +++ b/text/3417-dropck-eyepatch-v3.md @@ -7,7 +7,7 @@ [summary]: #summary Cleanup the rules for implicit drops by adding an argument for `#[may_dangle]` on type -parameters: `#[may_dangle(can_drop)]` and `#[may_dangle(must_not_use)]`. Change `PhantomData` +parameters: `#[may_dangle(droppable)]` and `#[may_dangle(must_not_use)]`. Change `PhantomData` to get completely ignored by dropck as its current behavior is confusing and inconsistent. # Motivation