Rename SubdiagnosticMessageOp
as SubdiagMessageOp
.
This commit is contained in:
parent
60ea6e2831
commit
573267cf3c
18 changed files with 55 additions and 57 deletions
|
@ -1,4 +1,4 @@
|
|||
use rustc_errors::{AddToDiagnostic, Diag, EmissionGuarantee, SubdiagnosticMessageOp};
|
||||
use rustc_errors::{AddToDiagnostic, Diag, EmissionGuarantee, SubdiagMessageOp};
|
||||
use rustc_macros::{LintDiagnostic, Subdiagnostic};
|
||||
use rustc_middle::thir::Pat;
|
||||
use rustc_middle::ty::Ty;
|
||||
|
@ -62,7 +62,7 @@ pub struct Overlap<'tcx> {
|
|||
}
|
||||
|
||||
impl<'tcx> AddToDiagnostic for Overlap<'tcx> {
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue