mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
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]
|
||||
#[label]
|
||||
pub span: Span,
|
||||
#[suggestion_verbose(message = "suggestion", code = "{ty}")]
|
||||
#[suggestion_verbose(code = "{ty}")]
|
||||
pub opt_sugg: Option<(Span, Applicability)>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user