Open Erigara opened 1 year ago
This is a clippy bug that warns external macros. (similar to https://github.com/rust-lang/rust-clippy/issues/7304, https://github.com/rust-lang/rust-clippy/issues/10259, https://github.com/rust-lang/rust-clippy/issues/10318, etc.)
I would accept a PR to add the corresponding #[allow()]
attribute to the generated code, but please consider submitting issues to https://github.com/rust-lang/rust-clippy to fix the underlying problems.
(upstream issue: https://github.com/rust-lang/rust-clippy/issues/10636)
Version
tokio v1.27.0
Platform
Rust playground.
Description
Clippy return errors that originate inside
select!
.I tried this code (playground):
I expected to see this happen: clippy run without errors.
Instead, this happened: clippy return errors due to error in the macro
select!
.