mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
fix: Fix parser getting stuck for bad asm expressions
This commit is contained in:
parent
2fd06545a6
commit
4a24e729b0
4 changed files with 71 additions and 4 deletions
|
@ -704,6 +704,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