about summary refs log tree commit diff
path: root/src/libsyntax/feature_gate
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-30 02:40:28 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-30 02:40:45 +0100
commitdb89679ebce6ed3b9bcb3f5cea430084b40a3a1f (patch)
tree417632d66b2a4679e91490c457320cec880e072d /src/libsyntax/feature_gate
parent70234f16dfbd22a7315401d46f5f7da2729463b5 (diff)
downloadrust-db89679ebce6ed3b9bcb3f5cea430084b40a3a1f.tar.gz
rust-db89679ebce6ed3b9bcb3f5cea430084b40a3a1f.zip
inline two explanation constants
Diffstat (limited to 'src/libsyntax/feature_gate')
-rw-r--r--src/libsyntax/feature_gate/check.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax/feature_gate/check.rs b/src/libsyntax/feature_gate/check.rs
index b5dc7d4db2b..c53f5f41e32 100644
--- a/src/libsyntax/feature_gate/check.rs
+++ b/src/libsyntax/feature_gate/check.rs
@@ -150,12 +150,6 @@ fn leveled_feature_err<'a, S: Into<MultiSpan>>(
 const EXPLAIN_BOX_SYNTAX: &str =
     "box expression syntax is experimental; you can call `Box::new` instead";
 
-pub const EXPLAIN_STMT_ATTR_SYNTAX: &str =
-    "attributes on expressions are experimental";
-
-pub const EXPLAIN_UNSIZED_TUPLE_COERCION: &str =
-    "unsized tuple coercion is not stable enough for use and is subject to change";
-
 struct PostExpansionVisitor<'a> {
     parse_sess: &'a ParseSess,
     features: &'a Features,