diff options
| author | bors <bors@rust-lang.org> | 2014-06-20 21:31:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-20 21:31:22 +0000 |
| commit | 2563481ca93877551116b11cde3cc7e21f1d6048 (patch) | |
| tree | d74605d3bfc3b73bad6047255a5c964ce15deb42 /src/liballoc | |
| parent | 43d193826000d22d0c2b5969f7b9b603f406f60f (diff) | |
| parent | dcbf4ec2a1cfd9f521c96b9dab62a2d27ded1b24 (diff) | |
| download | rust-2563481ca93877551116b11cde3cc7e21f1d6048.tar.gz rust-2563481ca93877551116b11cde3cc7e21f1d6048.zip | |
auto merge of #14988 : pcwalton/rust/unsafe-destructor-feature-gate, r=alexcrichton
Closes #8142. This is not the semantics we want long-term. You can continue to use `#[unsafe_destructor]`, but you'll need to add `#![feature(unsafe_destructor)]` to the crate attributes. [breaking-change] r? @alexcrichton
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index e578346861e..53a79217241 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -69,7 +69,8 @@ html_root_url = "http://doc.rust-lang.org/")] #![no_std] -#![feature(phase)] +#![feature(phase, unsafe_destructor)] +#![allow(unknown_features)] // NOTE: remove after a stage0 snap #[phase(plugin, link)] extern crate core; |
