diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-08 09:22:06 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-08 09:22:06 -0800 |
| commit | daee409b60cdb17040122343e0a184049c62180b (patch) | |
| tree | 0ad07187c916d33f2cc69a4e677a869c10ded643 /src/libsyntax | |
| parent | e40f62d9bf55279cdbaf9a20a017418f579979c2 (diff) | |
| parent | 0d0869ad738c1961ebbe75412303d360c7e951ba (diff) | |
| download | rust-daee409b60cdb17040122343e0a184049c62180b.tar.gz rust-daee409b60cdb17040122343e0a184049c62180b.zip | |
rollup merge of #20740: FlaPer87/remove-opt-out-copy
[breaking-change] code using this feature will break.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 2cfcd38d48f..9f023be4a53 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -82,7 +82,7 @@ static KNOWN_FEATURES: &'static [(&'static str, Status)] = &[ ("issue_5723_bootstrap", Accepted), // A way to temporarily opt out of opt in copy. This will *never* be accepted. - ("opt_out_copy", Deprecated), + ("opt_out_copy", Removed), // A way to temporarily opt out of the new orphan rules. This will *never* be accepted. ("old_orphan_check", Deprecated), @@ -123,7 +123,6 @@ pub struct Features { pub import_shadowing: bool, pub visible_private_types: bool, pub quote: bool, - pub opt_out_copy: bool, pub old_orphan_check: bool, } @@ -135,7 +134,6 @@ impl Features { import_shadowing: false, visible_private_types: false, quote: false, - opt_out_copy: false, old_orphan_check: false, } } @@ -465,7 +463,6 @@ fn check_crate_inner<F>(cm: &CodeMap, span_handler: &SpanHandler, krate: &ast::C import_shadowing: cx.has_feature("import_shadowing"), visible_private_types: cx.has_feature("visible_private_types"), quote: cx.has_feature("quote"), - opt_out_copy: cx.has_feature("opt_out_copy"), old_orphan_check: cx.has_feature("old_orphan_check"), }, unknown_features) |
