mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
7a025ad201
93: Support leading pipe in match arms r=matklad a=DJMcNab This adds support for match arms of the form: ```rust <...> | X | Y => <...>, | X => <...>, | 1..2 => <...>, etc ``` # Implementation discussion This just naïvely 'eats' a leading pipe if one is available. The equivalent line in the reference `libsyntax` is in [`parse_arm`]( |
||
---|---|---|
.. | ||
gen_lsp_server | ||
ra_analysis | ||
ra_cli | ||
ra_editor | ||
ra_lsp_server | ||
ra_syntax | ||
salsa | ||
test_utils | ||
tools |