diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2021-09-20 15:24:47 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2021-09-20 15:24:47 +0000 |
| commit | 428138071748e81eb67bb090cb9cd3f78299442b (patch) | |
| tree | c44060a8718fddd67f8577c2d41b90848206b555 /compiler/rustc_parse/src/parser | |
| parent | 38e576423dc56a006ccf0b72e106f09bdea6efc2 (diff) | |
| download | rust-428138071748e81eb67bb090cb9cd3f78299442b.tar.gz rust-428138071748e81eb67bb090cb9cd3f78299442b.zip | |
Add some more tracing
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 737f1d9cbb1..efaf2180daa 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -1084,6 +1084,7 @@ impl<'a> Parser<'a> { /// If we encounter a parser state that looks like the user has written a `struct` literal with /// parentheses instead of braces, recover the parser state and provide suggestions. + #[instrument(skip(self, seq, snapshot), level = "trace")] fn maybe_recover_struct_lit_bad_delims( &mut self, lo: Span, |
