rust-analyzer/crates/syntax
bors 6dad8c5528 Auto merge of #18146 - ChayimFriedman2:allow-comment, r=Veykril
fix: Remove check that text of `parse_expr_from_str()` matches the produced parsed tree

This check is incorrect when we have comments and whitespace in the text.

We can strip comments, but then we still have whitespace, which we cannot strip without changing meaning for the parser. So instead I opt to remove the check, and wrap the expression in parentheses (asserting what produced is a parenthesized expression) to strengthen verification.

Fixes #18144.
2024-09-19 13:27:21 +00:00
..
fuzz Bump Cargo.lock 2024-05-14 10:57:02 +02:00
src Auto merge of #18146 - ChayimFriedman2:allow-comment, r=Veykril 2024-09-19 13:27:21 +00:00
test_data Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
Cargo.toml Pin rowan to 0.15.15 2024-08-17 21:35:07 +09:00
rust.ungram Give InlineAsmOperand a HIR representation 2024-09-05 12:40:48 +02:00