diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-05-15 23:36:00 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-05-15 23:36:00 +0300 |
| commit | ae304db796b6897b6e68486750495898f2d5fec7 (patch) | |
| tree | b3b33e8584fd42c0be72853e95e31eb892051f83 /src/tools/rust-analyzer/crates/parser/test_data/generated | |
| parent | 98b6ecd6a1b91213616fa510311a6da481e0451a (diff) | |
Improve asm support
Including:
- Infer `label {}` and `const` operands.
- Correctly handle unsafe check inside `label {}`.
- Fix an embarrassing parser typo that cause labels to never be part of the AST
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 24db9478ee5..030d8e0f04d 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 @@ -21,6 +21,8 @@ mod ok { #[test] fn asm_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/asm_expr.rs"); } #[test] + fn asm_label() { run_and_expect_no_errors("test_data/parser/inline/ok/asm_label.rs"); } + #[test] fn assoc_const_eq() { run_and_expect_no_errors("test_data/parser/inline/ok/assoc_const_eq.rs"); } |
