mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Merge pull request #18625 from Veykril/push-npnxwpxuzlqz
fix: Fix parser getting stuck for bad asm expressions
This commit is contained in:
commit
cddaf7485f
4 changed files with 71 additions and 4 deletions
|
@ -711,6 +711,8 @@ mod err {
|
|||
run_and_expect_errors("test_data/parser/inline/err/async_without_semicolon.rs");
|
||||
}
|
||||
#[test]
|
||||
fn bad_asm_expr() { run_and_expect_errors("test_data/parser/inline/err/bad_asm_expr.rs"); }
|
||||
#[test]
|
||||
fn comma_after_functional_update_syntax() {
|
||||
run_and_expect_errors(
|
||||
"test_data/parser/inline/err/comma_after_functional_update_syntax.rs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue