Skip to content

Commit

Permalink
removed unneeded comment blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
benschreiber committed Feb 26, 2017
1 parent 98fd50a commit 9c5e4af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ declare_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! (
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 9c5e4af

Please sign in to comment.