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/libsyntax | |
| 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/libsyntax')
| -rw-r--r-- | src/libsyntax/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index b18e3a221f9..1fbc6e41e55 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -27,9 +27,10 @@ This API is completely unstable and subject to change. html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/")] -#![feature(macro_rules, globs, managed_boxes, default_type_params, phase, - quote)] +#![feature(macro_rules, globs, managed_boxes, default_type_params, phase)] +#![feature(quote, unsafe_destructor)] #![allow(deprecated)] +#![allow(unknown_features)] // NOTE: remove after a stage0 snap extern crate serialize; extern crate term; |
