diff options
| author | bors <bors@rust-lang.org> | 2024-03-05 02:58:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-05 02:58:34 +0000 |
| commit | 1547c076bfec8abb819d6a81e1e4095d267bd5b4 (patch) | |
| tree | cb13d4c597ac854933926f459bc4edc6ff7c9b5c /compiler/rustc_parse/src/errors.rs | |
| parent | 2eeff462b762ed00f9d557d8c6ad7a3d562f692a (diff) | |
| parent | 1cd957498bd4f42b69b87b4463ebde259d0a96c4 (diff) | |
| download | rust-1547c076bfec8abb819d6a81e1e4095d267bd5b4.tar.gz rust-1547c076bfec8abb819d6a81e1e4095d267bd5b4.zip | |
Auto merge of #121780 - nnethercote:diag-renaming2, r=davidtwco
Diagnostic renaming 2 A sequel to #121489. r? `@davidtwco`
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index 91dbf0321d2..c72b7e2cfa7 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -4,7 +4,7 @@ use rustc_ast::token::Token; use rustc_ast::{Path, Visibility}; use rustc_errors::{ codes::*, AddToDiagnostic, Applicability, Diag, DiagCtxt, EmissionGuarantee, IntoDiagnostic, - Level, SubdiagnosticMessageOp, + Level, SubdiagMessageOp, }; use rustc_macros::{Diagnostic, Subdiagnostic}; use rustc_session::errors::ExprParenthesesNeeded; @@ -1467,7 +1467,7 @@ pub(crate) struct FnTraitMissingParen { } impl AddToDiagnostic for FnTraitMissingParen { - fn add_to_diagnostic_with<G: EmissionGuarantee, F: SubdiagnosticMessageOp<G>>( + fn add_to_diagnostic_with<G: EmissionGuarantee, F: SubdiagMessageOp<G>>( self, diag: &mut Diag<'_, G>, _: F, |
