diff options
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/error.rs')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/error.rs b/compiler/rustc_macros/src/diagnostics/error.rs index 84b18a62028..13138ee4ab7 100644 --- a/compiler/rustc_macros/src/diagnostics/error.rs +++ b/compiler/rustc_macros/src/diagnostics/error.rs @@ -14,7 +14,7 @@ impl DiagnosticDeriveError { match self { DiagnosticDeriveError::SynError(e) => e.to_compile_error(), DiagnosticDeriveError::ErrorHandled => { - // Return ! to avoid having to create a blank DiagnosticBuilder to return when an + // Return ! to avoid having to create a blank Diag to return when an // error has already been emitted to the compiler. quote! { { unreachable!(); } |
