rust-analyzer/crates/ide_assists/src
bors[bot] 502e30e676
Merge #11737 #11739
11737: Emit `#[must_use]` in `Generate new` assist r=lnicola a=lnicola

Closes #11736

11739: Insert #[must_use] in generate_getter r=lnicola a=Walther

Inserts `#[must_use]` for the generated getter methods.

From discussion in https://github.com/rust-analyzer/rust-analyzer/issues/11736 and https://github.com/rust-analyzer/rust-analyzer/pull/11738

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Co-authored-by: Walther <veeti.haapsamo@gmail.com>
2022-03-17 12:58:14 +00:00
..
handlers Merge #11737 #11739 2022-03-17 12:58:14 +00:00
tests Merge #11737 #11739 2022-03-17 12:58:14 +00:00
utils more clippy fixes: 2022-03-12 16:50:49 +01:00
assist_config.rs internal: Re-arrange ide_db modules 2022-03-06 19:04:04 +01:00
assist_context.rs internal: Re-arrange ide_db modules 2022-03-06 19:04:04 +01:00
lib.rs Merge #10998 2021-12-13 18:49:06 +00:00
tests.rs internal: Re-arrange ide_db modules 2022-03-06 19:04:04 +01:00
utils.rs internal: Re-arrange ide_db modules 2022-03-06 19:04:04 +01:00