]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/front/feature_gate.rs
Register new snapshots
[rust.git] / src / librustc / front / feature_gate.rs
index d18a8306812c96f3b1eaebfa0bd0e55304fda619..868b53c2465f295d42904b2f13b4eb1ee09819c0 100644 (file)
@@ -113,8 +113,7 @@ fn visit_view_item(&mut self, i: &ast::view_item, _: ()) {
 
     fn visit_item(&mut self, i: @ast::item, _:()) {
         for attr in i.attrs.iter() {
-            if "thread_local" == attr.name() &&
-               cfg!(stage0, remove_this_on_next_snapshot) { // NOTE: snap rem
+            if "thread_local" == attr.name() {
                 self.gate_feature("thread_local", i.span,
                                   "`#[thread_local]` is an experimental feature, and does not \
                                   currently handle destructors. There is no corresponding \
@@ -136,8 +135,7 @@ fn visit_item(&mut self, i: @ast::item, _:()) {
             }
 
             ast::item_foreign_mod(..) => {
-                if attr::contains_name(i.attrs, "link_args") &&
-                    cfg!(stage0, remove_this_on_next_snapshot) { // NOTE: snap
+                if attr::contains_name(i.attrs, "link_args") {
                     self.gate_feature("link_args", i.span,
                                       "the `link_args` attribute is not portable \
                                        across platforms, it is recommended to \