rust/crates/ide_assists/src
bors[bot] 90f7899903
Merge #11531
11531: fix: Make fill_match_arms assist handle doc(hidden) and non_exhaustive r=Veykril a=OleStrohm

Fixes #11499
Fixes #11500
This keeps track of the relevant attributes and adds in a wildcard pat at the end of the match when necessary.

I decided to do them in the same PR since they both needed the ability to add a wildcard arm, and so their changes would overlap if done separately, but I'll split them up if that seems better.

This is my first PR to rust-analyzer, so all feedback is greatly appreciated!

Co-authored-by: Ole Strohm <strohm99@gmail.com>
2022-02-24 12:57:51 +00:00
..
handlers Merge #11531 2022-02-24 12:57:51 +00:00
tests Make replace_derive_with_manual_impl work again 2022-02-22 10:20:44 +01:00
utils internal: move all the lexing to the parser crate 2021-12-18 17:20:38 +03:00
assist_config.rs 7526: Rename crate assists to ide_assists. 2021-02-23 00:59:16 +05:30
assist_context.rs Make AssistContext::frange private 2021-10-13 14:39:37 +02:00
lib.rs Merge #10998 2021-12-13 18:49:06 +00:00
tests.rs minor: fixup generate assist priorities 2021-12-13 16:42:21 +01:00
utils.rs Merge #11062 2021-12-20 09:14:38 +00:00