So I've got a project with 140 #[must_use] attributes on methods of trait impls. Rust tells me they have no effect when applied to a trait method:
warning: `#[must_use]` has no effect when applied to a provided trait method
--> src/x86_x64/avx.rs:2250:3
|
2250 | #[must_use]
| ^^^^^^^^^^^
so far so good, except cargo fix can't just remove all the useless must_use for me, which it should be able to do.
So I've got a project with 140
#[must_use]attributes on methods of trait impls. Rust tells me they have no effect when applied to a trait method:so far so good, except
cargo fixcan't just remove all the uselessmust_usefor me, which it should be able to do.