rust/tests
surechen 846c0bef07 Fixes #7915
Fix shadow_same's positive false for async function's params:

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 positive false for async function's params
2021-11-21 14:28:44 +08:00
..
cargo
ui Fixes #7915 2021-11-21 14:28:44 +08: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 New index_refutable_slice lint 2021-11-11 17:34:02 +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
integration.rs
lint_message_convention.rs
missing-test-files.rs Account for revisions in missing-test-files 2021-11-01 15:47:34 +00:00
versioncheck.rs