rust/tests
bors de2208a351 Auto merge of #7997 - surechen:Fixes_7915, r=giraffate
Fixes shadow_same's false positive for #7915

Fix shadow_same's false positive for async function's params(Fixes #7915):

Example Code:
```rust
#![deny(clippy::shadow_same)]

pub async fn foo(_a: i32) {
}
```
Output:
```
error: `_a` is shadowed by itself in `_a
```

Hir:
```rust
pub async fn foo(_a: i32)
 ->
     /*impl Trait*/ #[lang = "from_generator"](move |mut _task_context|
                                                   {
                                                       let _a = _a;
                                                       { let _t = { }; _t }
                                                   })
```

Skip checking async function's params.

changelog: Fix shadow_same's false positive for async function's params
2021-11-21 23:48:24 +00:00
..
cargo
ui Auto merge of #7997 - surechen:Fixes_7915, r=giraffate 2021-11-21 23:48:24 +00:00
ui_test
ui-cargo
ui-internal New internal lint to make clippy::version attribute mandatory 2021-11-11 13:03:30 +01:00
ui-toml Also pluralize disallowed_method(s) lint 2021-11-18 17:37:06 +01:00
clippy.toml
compile-test.rs Auto merge of #7957 - surechen:fix_for_7854, r=giraffate 2021-11-15 00:50:28 +00:00
dogfood.rs
fmt.rs Don't check for a nightly toolchain in fmt test 2021-11-19 19:43:31 -05:00
integration.rs
lint_message_convention.rs
missing-test-files.rs Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup 2021-11-04 12:52:36 +00:00
versioncheck.rs