diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-02-11 14:13:33 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-02-11 14:13:33 +0100 |
| commit | cdd8a5ad743338d246e3db31ab0b5b0d448a2146 (patch) | |
| tree | 4ce0ec089d5011ea1c72f7d8f70832d69601bd5c /src/libsyntax/feature_gate.rs | |
| parent | dbe082869925a62adf58c40984b0329a57425b08 (diff) | |
| download | rust-cdd8a5ad743338d246e3db31ab0b5b0d448a2146.tar.gz rust-cdd8a5ad743338d246e3db31ab0b5b0d448a2146.zip | |
Generalize all error messages with "experimental in alpha release" to
just say "experimental."
Diffstat (limited to 'src/libsyntax/feature_gate.rs')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 9f10c156518..1a328f87c19 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -430,7 +430,7 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> { ast::ExprBox(..) | ast::ExprUnary(ast::UnOp::UnUniq, _) => { self.gate_feature("box_syntax", e.span, - "box expression syntax is experimental in alpha release; \ + "box expression syntax is experimental; \ you can call `Box::new` instead."); } ast::ExprLit(ref lit) => { |
