-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
instrument triggers clippy::blocks_in_conditions #2876
Comments
Haennetz
added a commit
to Haennetz/vaultrs
that referenced
this issue
Feb 11, 2024
tokio tracing instrument causes clippy to fail see tokio-rs/tracing#2876
Haennetz
added a commit
to Haennetz/vaultrs
that referenced
this issue
Feb 11, 2024
tokio tracing instrument causes clippy to fail see tokio-rs/tracing#2876
ctron
added a commit
to ctron/csaf-walker
that referenced
this issue
Feb 13, 2024
kaffarell
added a commit
to kaffarell/tracing
that referenced
this issue
Feb 14, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: tokio-rs#2876
kaffarell
added a commit
to kaffarell/tracing
that referenced
this issue
Feb 14, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: tokio-rs#2876
kaffarell
added a commit
to kaffarell/tracing
that referenced
this issue
Feb 14, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: tokio-rs#2876
kaffarell
added a commit
to kaffarell/tracing
that referenced
this issue
Mar 4, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: tokio-rs#2876
davidbarsky
pushed a commit
that referenced
this issue
Mar 12, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: #2876
#2880 is merged. Once released, it should close this issue. |
We'd need to port it to master as well, yes? EDIT: yes, we will. 2880 only targeted v0.1.x. |
sandhose
added a commit
to matrix-org/matrix-authentication-service
that referenced
this issue
May 6, 2024
This also ignores the clippy::blocks_in_conditions lint in two crates, until tracing gets fixed: tokio-rs/tracing#2876
sandhose
added a commit
to matrix-org/matrix-authentication-service
that referenced
this issue
May 6, 2024
This also ignores the clippy::blocks_in_conditions lint in two crates, until tracing gets fixed: tokio-rs/tracing#2876
sandhose
added a commit
to matrix-org/matrix-authentication-service
that referenced
this issue
May 7, 2024
This also ignores the clippy::blocks_in_conditions lint in two crates, until tracing gets fixed: tokio-rs/tracing#2876
kaffarell
added a commit
to kaffarell/tracing
that referenced
this issue
May 22, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: tokio-rs#2876
davidbarsky
pushed a commit
that referenced
this issue
Oct 2, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: #2876
davidbarsky
pushed a commit
that referenced
this issue
Oct 2, 2024
On clippy version 1.76.0 this gives a warning, extracting the scrutinee to a variable fixes this. Fixes: #2876
This is still happening if you specify |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Version
tracing v0.1.40
tracing-attributes v0.1.27 (proc-macro)
tracing-core v0.1.32
tracing-futures v0.2.5
tracing-log v0.2.0
tracing-subscriber v0.3.18
Platform
22.04.1-Ubuntu
Description
Running the following code with clippy version 1.76.0 (2024-02-04) caused an error
The error is
This only happens with async traits. The following caused no errors:
The text was updated successfully, but these errors were encountered: