Skip to content
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

Procedural macro triggers clippy::unreachable #2422

Closed
c410-f3r opened this issue Dec 19, 2022 · 2 comments
Closed

Procedural macro triggers clippy::unreachable #2422

c410-f3r opened this issue Dec 19, 2022 · 2 comments

Comments

@c410-f3r
Copy link

#![deny(clippy::unreachable)]

#[tracing::instrument]
async fn _foo() {}

As seen above, the internal instrument implementation triggers clippy::unreachable in downstream projects. To avoid such behaviour, please consider tweaking the codebase or #[allow(clippy::unreachable)] where applicable.

@avandesa-fw
Copy link

HI, I found the same issue. Looks like it's fixed by #2356 but hasn't been released yet.

@c410-f3r
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants