diff options
| author | bors <bors@rust-lang.org> | 2023-05-20 10:30:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-20 10:30:30 +0000 |
| commit | 6d1bf733d6d2501fa4f8dd99c7d9a97e2d23d284 (patch) | |
| tree | 482d45ca1c0fa3b5c73ce05fbc79b287095a152b /compiler/rustc_parse/src/parser | |
| parent | 25f084d5e007b9561d155be0b1a2e369c8e4b0ef (diff) | |
| parent | 94ca44a50ad6a76743eac7828d8c5f199b0042fd (diff) | |
| download | rust-6d1bf733d6d2501fa4f8dd99c7d9a97e2d23d284.tar.gz rust-6d1bf733d6d2501fa4f8dd99c7d9a97e2d23d284.zip | |
Auto merge of #111778 - Dylan-DPC:rollup-107ig9h, r=Dylan-DPC
Rollup of 10 pull requests Successful merges: - #111491 (Dont check `must_use` on nested `impl Future` from fn) - #111606 (very minor cleanups) - #111619 (Add timings for MIR passes to profiling report) - #111652 (Better diagnostic for `use Self::..`) - #111665 (Add more tests for the offset_of macro) - #111708 (Give a more useful location for where a span_bug was delayed) - #111715 (Fix doc comment for `ConstParamTy` derive) - #111723 (style: do not overwrite obligations) - #111743 (Improve cgu merging debug output) - #111762 (fix: emit error when fragment is `MethodReceiverExpr` and items is empty) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/diagnostics.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs index 3002f23da75..bcef0f7185f 100644 --- a/compiler/rustc_parse/src/parser/diagnostics.rs +++ b/compiler/rustc_parse/src/parser/diagnostics.rs @@ -238,6 +238,7 @@ impl<'a> DerefMut for SnapshotParser<'a> { impl<'a> Parser<'a> { #[rustc_lint_diagnostics] + #[track_caller] pub fn struct_span_err<S: Into<MultiSpan>>( &self, sp: S, |
