Skip to content

Commit 437468d

Browse files
committed
typeck: remove unnecessary fluent attr
Specifying "suggestion" as the attribute for the only suggestion is unnecessary, it's the default of the derive. Signed-off-by: David Wood <[email protected]>
1 parent 879aff3 commit 437468d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub struct TypeofReservedKeywordUsed<'tcx> {
134134
#[primary_span]
135135
#[label]
136136
pub span: Span,
137-
#[suggestion_verbose(message = "suggestion", code = "{ty}")]
137+
#[suggestion_verbose(code = "{ty}")]
138138
pub opt_sugg: Option<(Span, Applicability)>,
139139
}
140140

0 commit comments

Comments
 (0)