diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2024-12-06 05:53:44 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-12-06 05:57:00 +0100 |
| commit | 3db9b1d943f7a665ea98a6dab40ece33375f4f99 (patch) | |
| tree | 3aebd3d945bb072318234a181c1c94780e37fb83 /src/tools/rust-analyzer/crates/parser/test_data/generated | |
| parent | 6ef7f8e01409884d160769d6a62ba3d82dfb0207 (diff) | |
fix: Fix parser getting stuck for bad asm expressions
Diffstat (limited to 'src/tools/rust-analyzer/crates/parser/test_data/generated')
| -rw-r--r-- | src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs b/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs index f9486f53c25..c4ffc6cadc8 100644 --- a/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs +++ b/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs @@ -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", |
