File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ expand_attribute_meta_item =
10
10
expand_attribute_single_word =
11
11
attribute must only be a single word
12
12
13
+ expand_attributes_on_expressions_experimental =
14
+ attributes on expressions are experimental
15
+ .help_outer_doc = `///` is for documentation comments. For a plain comment, use `//`.
16
+
13
17
expand_attributes_wrong_form =
14
18
attribute must be of form: `attributes(foo, bar)`
15
19
Original file line number Diff line number Diff line change @@ -383,11 +383,11 @@ impl<'a> StripUnconfigured<'a> {
383
383
& self . sess ,
384
384
sym:: stmt_expr_attributes,
385
385
attr. span ,
386
- "attributes on expressions are experimental" ,
386
+ crate :: fluent_generated :: expand_attributes_on_expressions_experimental ,
387
387
) ;
388
388
389
389
if attr. is_doc_comment ( ) {
390
- err. help ( "`///` is for documentation comments. For a plain comment, use `//`." ) ;
390
+ err. help ( crate :: fluent_generated :: expand_help_outer_doc ) ;
391
391
}
392
392
393
393
err. emit ( ) ;
You can’t perform that action at this time.
0 commit comments