about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-03-26 14:25:37 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-03-26 14:41:55 +0100
commitedf33fe0a2fa322d1d372c22da75fc819f9049eb (patch)
tree586a416d72663e2d89910c1550e5947e5d14807f /tests
parent6faa6a28ba165ff225a4865604189f0b681cbd47 (diff)
downloadrust-edf33fe0a2fa322d1d372c22da75fc819f9049eb.tar.gz
rust-edf33fe0a2fa322d1d372c22da75fc819f9049eb.zip
Add Destruct and Drop traits to static.rs
Diffstat (limited to 'tests')
-rw-r--r--tests/run/static.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run/static.rs b/tests/run/static.rs
index ab89f6aff4b..294add96844 100644
--- a/tests/run/static.rs
+++ b/tests/run/static.rs
@@ -22,6 +22,12 @@
 #[lang = "sized"]
 pub trait Sized {}
 
+#[lang = "destruct"]
+pub trait Destruct {}
+
+#[lang = "drop"]
+pub trait Drop {}
+
 #[lang = "copy"]
 trait Copy {
 }