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 <david.wood@huawei.com>
This commit is contained in:
parent
879aff385a
commit
437468daf7
@ -134,7 +134,7 @@ pub struct TypeofReservedKeywordUsed<'tcx> {
|
|||||||
#[primary_span]
|
#[primary_span]
|
||||||
#[label]
|
#[label]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
#[suggestion_verbose(message = "suggestion", code = "{ty}")]
|
#[suggestion_verbose(code = "{ty}")]
|
||||||
pub opt_sugg: Option<(Span, Applicability)>,
|
pub opt_sugg: Option<(Span, Applicability)>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user