From 9c5e4afb17ce10d9411af3a7e0fae1ce45b1637d Mon Sep 17 00:00:00 2001 From: Ben Schreiber Date: Sat, 25 Feb 2017 21:49:24 -0600 Subject: [PATCH] removed unneeded comment blocks --- src/libsyntax/feature_gate.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 4b233457197..1e6ded20195 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -356,7 +356,6 @@ pub fn new() -> Features { // rustc internal (removed, unmarked_api, "1.0.0", None), (removed, pushpop_unsafe, "1.2.0", None), - //(removed, no_stack_check, "1.0.0", None), ); declare_features! ( @@ -1460,10 +1459,6 @@ pub fn get_features(span_handler: &Handler, krate_attrs: &[ast::Attribute]) -> F .find(|& &(n, _, _)| name == n)) { span_err!(span_handler, mi.span, E0557, "feature has been removed"); } - //else if let Some(&(_, _, _)) = STABLE_REMOVED_FEATURES.iter() - // .find(|& &(n, _, _)| name == n) { - // span_err!(span_handler, mi.span, E0557, "feature has been removed"); - //} else if let Some(&(_, _, _)) = ACCEPTED_FEATURES.iter() .find(|& &(n, _, _)| name == n) { features.declared_stable_lang_features.push((name, mi.span));