mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
42f03539ca
I found this because we only had two test cases in total for this lint. It turns out the functionality is fully covered by rustc these days. [Playground Examples](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=eb8ee6db389c77180c9fb152d3c608f4) changelog: Deprecate `unused_collect` lint. This is fully covered by rustc's `#[must_use]` on `collect` cc #2846
7 lines
151 B
Rust
7 lines
151 B
Rust
#[warn(str_to_string)]
|
|
#[warn(string_to_string)]
|
|
#[warn(unstable_as_slice)]
|
|
#[warn(unstable_as_mut_slice)]
|
|
#[warn(misaligned_transmute)]
|
|
|
|
fn main() {}
|