From 428138071748e81eb67bb090cb9cd3f78299442b Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Mon, 20 Sep 2021 15:24:47 +0000 Subject: Add some more tracing --- compiler/rustc_parse/src/parser/expr.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_parse/src/parser/expr.rs') 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, -- cgit 1.4.1-3-g733a5