Add more track_caller
This commit is contained in:
parent
0f35c0c672
commit
cbeb244b05
13 changed files with 68 additions and 3 deletions
|
@ -930,6 +930,7 @@ pub(crate) struct ExpectedIdentifier {
|
|||
}
|
||||
|
||||
impl<'a, G: EmissionGuarantee> IntoDiagnostic<'a, G> for ExpectedIdentifier {
|
||||
#[track_caller]
|
||||
fn into_diagnostic(
|
||||
self,
|
||||
handler: &'a rustc_errors::Handler,
|
||||
|
@ -977,6 +978,7 @@ pub(crate) struct ExpectedSemi {
|
|||
}
|
||||
|
||||
impl<'a, G: EmissionGuarantee> IntoDiagnostic<'a, G> for ExpectedSemi {
|
||||
#[track_caller]
|
||||
fn into_diagnostic(
|
||||
self,
|
||||
handler: &'a rustc_errors::Handler,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue