Just a temporary repo to share a possible clippy bug.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
finga 19ef55ade5 Add a readme 3 weeks ago
.cargo Just to show a clippy bug 3 weeks ago
src Just to show a clippy bug 3 weeks ago
.gitignore Just to show a clippy bug 3 weeks ago
Cargo.toml Add a readme 3 weeks ago
README.md Add a readme 3 weeks ago

README.md

This is an example of following false positive:

$ cargo clippy                                                                                  ~/src/clippy_test [2:10:20]
    Checking clippy_test v0.1.0 ($HOME/src/clippy_test)
error: unnecessary structure name repetition
 --> src/lib.rs:4:10
  |
4 | pub enum AnArbitraryName {
  |          ^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
  |
  = note: `-D clippy::use-self` implied by `-D clippy::nursery`
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self

error: could not compile `clippy_test` due to previous error