rust-analyzer/crates
bors[bot] 6f60e646fc
Merge #3894
3894: Match check enum record r=flodiebold a=JoshMcguigan

This PR implements match statement exhaustiveness checking for record type enums.

It also make a minor addition to the test infrastructure to allow testing against a single diagnostic, so you can be sure your test is triggering (or not) whichever diagnostic you expect.

Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
2020-04-18 18:42:07 +00:00
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Change add_function assist to use todo!() 2020-04-13 22:17:06 +02:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Merge #3727 2020-03-26 17:09:32 +00:00
ra_flycheck insta 0.16 2020-04-14 13:57:02 -04:00
ra_fmt Provide more complete AST accessors to support usage in rustc 2020-04-09 11:50:37 +02:00
ra_hir Merge #4029 2020-04-18 17:56:54 +00:00
ra_hir_def find_path: Builtins are always in scope 2020-04-18 12:06:22 +02:00
ra_hir_expand Simplify Diagnostic structure 2020-04-17 13:56:42 +02:00
ra_hir_ty missing match arm diagnostic support enum record type 2020-04-18 05:54:56 -07:00
ra_ide Merge #4029 2020-04-18 17:56:54 +00:00
ra_ide_db Don't expose SyntaxNodePtr impl details 2020-04-16 21:01:04 +02:00
ra_mbe Split LIFETIME to two tokens in mbe 2020-04-18 19:28:07 +08:00
ra_parser Align grammar for record patterns and literals 2020-04-12 00:00:15 +02:00
ra_proc_macro Fix extern_process args 2020-04-17 04:08:01 +08:00
ra_proc_macro_srv Merge empty delim subtree in proc-macro 2020-04-18 19:29:04 +08:00
ra_prof Move timeit to stdx 2020-04-10 20:46:42 +02:00
ra_project_model Unmix error handling when discovering workspaces 2020-04-16 22:35:50 +02:00
ra_syntax Don't expose SyntaxNodePtr impl details 2020-04-16 21:01:04 +02:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
rust-analyzer Merge #3996 2020-04-17 09:31:57 +00:00
stdx Move timeit to stdx 2020-04-10 20:46:42 +02:00
test_utils Make records grammar more orthogonal 2020-04-11 19:20:41 +02:00