Rename DiagnosticArgFromDisplay
as DiagArgFromDisplay
.
This commit is contained in:
parent
8199632aa8
commit
d0ef108ce9
5 changed files with 20 additions and 21 deletions
|
@ -1,6 +1,5 @@
|
|||
use rustc_errors::{
|
||||
codes::*, AddToDiagnostic, Diag, DiagnosticArgFromDisplay, EmissionGuarantee,
|
||||
SubdiagnosticMessageOp,
|
||||
codes::*, AddToDiagnostic, Diag, DiagArgFromDisplay, EmissionGuarantee, SubdiagnosticMessageOp,
|
||||
};
|
||||
use rustc_macros::{Diagnostic, Subdiagnostic};
|
||||
use rustc_span::{symbol::Ident, Span, Symbol};
|
||||
|
@ -95,7 +94,7 @@ pub enum AssocTyParenthesesSub {
|
|||
pub struct MisplacedImplTrait<'a> {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
pub position: DiagnosticArgFromDisplay<'a>,
|
||||
pub position: DiagArgFromDisplay<'a>,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue