Rename DiagnosticLocation
as DiagLocation
.
This commit is contained in:
parent
d0ef108ce9
commit
e3c19a2928
3 changed files with 12 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::diagnostic::DiagnosticLocation;
|
||||
use crate::diagnostic::DiagLocation;
|
||||
use crate::{fluent_generated as fluent, AddToDiagnostic};
|
||||
use crate::{
|
||||
Diag, DiagArgValue, DiagCtxt, EmissionGuarantee, ErrCode, IntoDiagnostic, IntoDiagnosticArg,
|
||||
|
@ -315,7 +315,7 @@ pub struct ExpectedLifetimeParameter {
|
|||
pub count: usize,
|
||||
}
|
||||
|
||||
impl IntoDiagnosticArg for DiagnosticLocation {
|
||||
impl IntoDiagnosticArg for DiagLocation {
|
||||
fn into_diagnostic_arg(self) -> DiagArgValue {
|
||||
DiagArgValue::Str(Cow::from(self.to_string()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue