diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-03-26 14:25:37 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-03-26 14:41:55 +0100 |
| commit | edf33fe0a2fa322d1d372c22da75fc819f9049eb (patch) | |
| tree | 586a416d72663e2d89910c1550e5947e5d14807f /tests | |
| parent | 6faa6a28ba165ff225a4865604189f0b681cbd47 (diff) | |
| download | rust-edf33fe0a2fa322d1d372c22da75fc819f9049eb.tar.gz rust-edf33fe0a2fa322d1d372c22da75fc819f9049eb.zip | |
Add Destruct and Drop traits to static.rs
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/run/static.rs | 6 |
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 { } |
