Skip to content

Commit

Permalink
Drop unnecessary tracing::warn
Browse files Browse the repository at this point in the history
We already emit an error
  • Loading branch information
Veykril committed Jan 7, 2025
1 parent 86d35a5 commit bff9bd0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/mbe/src/expander/transcriber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bff9bd0

Please sign in to comment.