diff options
| author | mejrs <> | 2022-10-31 16:14:29 +0100 |
|---|---|---|
| committer | mejrs <> | 2022-10-31 16:14:29 +0100 |
| commit | cbeb244b0588f8d442514a2b7ab95a6021f9863f (patch) | |
| tree | fbcb163bfa6db4685fc773aff1ef2f62ec29080a /compiler/rustc_parse/src/errors.rs | |
| parent | 0f35c0c672958760018ee75f85acd195a66be8ab (diff) | |
| download | rust-cbeb244b0588f8d442514a2b7ab95a6021f9863f.tar.gz rust-cbeb244b0588f8d442514a2b7ab95a6021f9863f.zip | |
Add more track_caller
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index 98fee997427..af70300d911 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -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, |
