about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2025-01-07 14:40:00 +0100
committerLukas Wirth <lukastw97@gmail.com>2025-01-07 14:40:00 +0100
commitb039d3fc5cd6f6bdddb7cb7130b20cebdfb1f779 (patch)
treef0e3265f553c1aec0d2f6fce906a6ed6165433b4 /src/tools
parentc360bf55173a62b2f7c5bbe8fb482acf5103bb4e (diff)
downloadrust-b039d3fc5cd6f6bdddb7cb7130b20cebdfb1f779.tar.gz
rust-b039d3fc5cd6f6bdddb7cb7130b20cebdfb1f779.zip
Drop unnecessary tracing::warn
We already emit an error
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rust-analyzer/crates/mbe/src/expander/transcriber.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tools/rust-analyzer/crates/mbe/src/expander/transcriber.rs b/src/tools/rust-analyzer/crates/mbe/src/expander/transcriber.rs
index 3aacfd120c6..9255c5a6899 100644
--- a/src/tools/rust-analyzer/crates/mbe/src/expander/transcriber.rs
+++ b/src/tools/rust-analyzer/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;
         }