From 90653b0f5cbe567cee2489c0b71ce4ddd26c8f71 Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Wed, 9 Jul 2025 18:55:27 +0300 Subject: Make `global_asm!()` work Because apparently, we were not accepting inline asm in item position, completely breaking it. --- src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools/rust-analyzer/crates/parser/test_data/generated') 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 8053d0b22d2..cef7b0ee239 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 @@ -300,6 +300,8 @@ mod ok { run_and_expect_no_errors("test_data/parser/inline/ok/generic_param_list.rs"); } #[test] + fn global_asm() { run_and_expect_no_errors("test_data/parser/inline/ok/global_asm.rs"); } + #[test] fn half_open_range_pat() { run_and_expect_no_errors("test_data/parser/inline/ok/half_open_range_pat.rs"); } -- cgit 1.4.1-3-g733a5