rust/crates/ide-assists/src
bors 829e77709e Auto merge of #15524 - vsrs:bind_unused_param, r=Veykril
Bind unused parameter assistant

This PR introduces a new **Bind unused parameter assistant**.

While we do have a QuickFix from `rustc` (prefixing the parameter with an underscore), it's sometimes more convenient to suppress the warning using the following approach:
```rust
 fn some_function(unused: i32) {}
```
->
```rust
fn some_function(unused: i32) {
    let _ = unused;
}
```
2023-09-08 09:12:31 +00:00
..
handlers Auto merge of #15524 - vsrs:bind_unused_param, r=Veykril 2023-09-08 09:12:31 +00:00
tests Auto merge of #15524 - vsrs:bind_unused_param, r=Veykril 2023-09-08 09:12:31 +00:00
utils Parse builtin# syntax 2023-09-05 10:36:35 +02:00
assist_config.rs
assist_context.rs
lib.rs Auto merge of #15524 - vsrs:bind_unused_param, r=Veykril 2023-09-08 09:12:31 +00:00
tests.rs internal: Defer rendering of structured snippets 2023-07-12 01:50:35 -04:00
utils.rs HiddenDocAttr becomes DocHiddenAttr 2023-07-07 14:15:15 +02:00