about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-25 12:00:27 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-25 12:47:56 -0700
commit2823be08b7d1b9106cbbd454437384c093c5a5fa (patch)
tree2971066c674ce2d6b1e962431166bed03922f0e6 /src/libnative
parent7da94c1a00104e25901b6b571bca1b03990d4467 (diff)
downloadrust-2823be08b7d1b9106cbbd454437384c093c5a5fa.tar.gz
rust-2823be08b7d1b9106cbbd454437384c093c5a5fa.zip
Register new snapshots
This change starts denying `*T` in the parser. All code using `*T` should ensure
that the FFI call does indeed take `const T*` on the other side before renaming
the type to `*const T`.

Otherwise, all code can rename `*T` to `*const T`.

[breaking-change]
Diffstat (limited to 'src/libnative')
-rw-r--r--src/libnative/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index 3438661ffb3..3ed3d5862b9 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -55,7 +55,6 @@
 
 #![deny(unused_result, unused_must_use)]
 #![allow(non_camel_case_types, deprecated)]
-#![allow(unknown_features)] // NOTE: remove after a stage0 snap
 #![feature(default_type_params, lang_items)]
 
 // NB this crate explicitly does *not* allow glob imports, please seriously