Skip to content

Commit a77f4bc

Browse files
committed
Mark Drop with #[const_trait]
1 parent 03ac7e0 commit a77f4bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/ops/drop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
/// these types cannot have destructors.
135135
#[lang = "drop"]
136136
#[stable(feature = "rust1", since = "1.0.0")]
137+
#[const_trait]
137138
pub trait Drop {
138139
/// Executes the destructor for this type.
139140
///

0 commit comments

Comments
 (0)