mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 04:18:20 +00:00
Merge pull request #18870 from Veykril/push-vnpsptpolyol
Drop unnecessary tracing::warn
This commit is contained in:
commit
fff668052b
1 changed files with 0 additions and 5 deletions
|
|
@ -462,11 +462,6 @@ fn expand_repeat(
|
||||||
|
|
||||||
counter += 1;
|
counter += 1;
|
||||||
if counter == limit {
|
if counter == limit {
|
||||||
tracing::warn!(
|
|
||||||
"expand_tt in repeat pattern exceed limit => {:#?}\n{:#?}",
|
|
||||||
template,
|
|
||||||
ctx
|
|
||||||
);
|
|
||||||
err = Some(ExpandError::new(ctx.call_site, ExpandErrorKind::LimitExceeded));
|
err = Some(ExpandError::new(ctx.call_site, ExpandErrorKind::LimitExceeded));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue