summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_expand/messages.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_expand/messages.ftl')
-rw-r--r--compiler/rustc_expand/messages.ftl5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_expand/messages.ftl b/compiler/rustc_expand/messages.ftl
index 8b9382962..475dd348e 100644
--- a/compiler/rustc_expand/messages.ftl
+++ b/compiler/rustc_expand/messages.ftl
@@ -35,9 +35,6 @@ expand_explain_doc_comment_outer =
expand_expr_repeat_no_syntax_vars =
attempted to repeat an expression containing no syntax variables matched as repeating at this depth
-expand_feature_included_in_edition =
- the feature `{$feature}` is included in the Rust {$edition} edition
-
expand_feature_not_allowed =
the feature `{$name}` is not in the list of allowed features
@@ -71,6 +68,8 @@ expand_macro_const_stability =
.label = invalid const stability attribute
.label2 = const stability attribute affects this macro
+expand_macro_expands_to_match_arm = macros cannot expand to match arms
+
expand_malformed_feature_attribute =
malformed `feature` attribute input
.expected = expected just one word