mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-25 19:35:06 +00:00
Drop unnecessary tracing::warn
We already emit an error
This commit is contained in:
parent
86d35a55a6
commit
bff9bd0286
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue