about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-03 16:54:39 +0000
committerbors <bors@rust-lang.org>2022-01-03 16:54:39 +0000
commit3ea77847fee93e51957e51a4480ef31a04602a7a (patch)
tree7cb8268c5c436de08f374dd425c68e1c4414c65b /compiler/rustc_mir_transform/src/coverage/tests.rs
parent8419108e965edecb5b1dcc0f3c62bbd7c08d05c2 (diff)
parent19cfcd5c5a604523fd58c844f90f149021b0fb51 (diff)
downloadrust-3ea77847fee93e51957e51a4480ef31a04602a7a.tar.gz
rust-3ea77847fee93e51957e51a4480ef31a04602a7a.zip
Auto merge of #8216 - pmnoxx:piotr-fix-clippy-warnings, r=xFrednet
Fix `clippy::use-self`` warning in ` src/main.rs`

`ClippyCmd` warnings gets generated due to addition of `clippy::use-self`. This PR fixes that.

```
warning: unnecessary structure name repetition
  --> src/main.rs:99:9
   |
99 |         ClippyCmd {
   |         ^^^^^^^^^ help: use the applicable keyword: `Self`
   |
   = note: `-W clippy::use-self` implied by `-W clippy::nursery`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
```

---

changelog: none
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions