From bff9bd028608a20de707673feb7a0bafcbfecd0b Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 7 Jan 2025 14:40:00 +0100 Subject: [PATCH] Drop unnecessary tracing::warn We already emit an error --- crates/mbe/src/expander/transcriber.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/mbe/src/expander/transcriber.rs b/crates/mbe/src/expander/transcriber.rs index 3aacfd120c6b..9255c5a6899b 100644 --- a/crates/mbe/src/expander/transcriber.rs +++ b/crates/mbe/src/expander/transcriber.rs @@ -462,11 +462,6 @@ fn expand_repeat( counter += 1; if counter == limit { - tracing::warn!( - "expand_tt in repeat pattern exceed limit => {:#?}\n{:#?}", - template, - ctx - ); err = Some(ExpandError::new(ctx.call_site, ExpandErrorKind::LimitExceeded)); break; }