rust-analyzer/crates
bors[bot] 463e5af3f2 Merge #306
306: Finish weird exprs r=DJMcNab a=DJMcNab

Fix #290.

Note that I'm not certain my use of `p.nth(1) == Ident` is entirely consistent with `libsyntax` - in the original, [`is_union_item`](9622f9dc47/src/libsyntax/parse/parser.rs (L4593-L4596)) uses `t.is_ident() && !t.is_reserved_ident()`, whereas we effectively only do `is_ident`. However, I cannot find the definition of `is_reserved_ident` (even searching the rust repository only gives uses, no definitions), so this will have to do unless someone else can find it :|.

Co-authored-by: DJMcNab <36049421+djmcnab@users.noreply.github.com>
2018-12-21 10:04:00 +00:00
..
gen_lsp_server Use ContentModified error code 2018-12-20 12:20:28 +03:00
ra_analysis use root-relative paths 2018-12-21 12:30:28 +03:00
ra_cli modernize even more 2018-12-06 21:16:37 +03:00
ra_db better debug impls 2018-12-21 11:49:18 +03:00
ra_editor fold curly blocks 2018-12-20 22:43:06 +03:00
ra_hir use root-relative paths 2018-12-21 12:30:28 +03:00
ra_lsp_server edits use source-root API 2018-12-21 12:18:14 +03:00
ra_syntax Add comment about the source of the weird_exprs test 2018-12-21 10:03:02 +00:00
ra_text_edit hide atom edits a bit 2018-12-21 11:52:32 +03:00
ra_vfs fix the test 2018-12-20 12:15:38 +03:00
test_utils fold curly blocks 2018-12-20 22:43:06 +03:00
thread_worker swtich lsp server to vfs 2018-12-20 12:15:38 +03:00
tools ⬆️ 1.31.1 2018-12-20 22:57:38 +03:00