diff options
| author | Michael Goulet <michael@errs.io> | 2024-08-21 01:29:52 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-21 01:31:42 -0400 |
| commit | 0b2525c787454fa9afabd7bb8d60782af03fee5f (patch) | |
| tree | ee3606979da78ad8a68480105faa8b3b31940c60 /compiler/rustc_resolve/src/diagnostics.rs | |
| parent | 636d7ff91b9847d6d43c7bbe023568828f6e3246 (diff) | |
| download | rust-0b2525c787454fa9afabd7bb8d60782af03fee5f.tar.gz rust-0b2525c787454fa9afabd7bb8d60782af03fee5f.zip | |
Simplify some redundant field names
Diffstat (limited to 'compiler/rustc_resolve/src/diagnostics.rs')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index 942026ef012..bcbdf627b56 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -1456,7 +1456,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> { let label_span = ident.span.shrink_to_hi(); let mut spans = MultiSpan::from_span(label_span); spans.push_span_label(label_span, "put a macro name here"); - err.subdiagnostic(MaybeMissingMacroRulesName { spans: spans }); + err.subdiagnostic(MaybeMissingMacroRulesName { spans }); return; } |
