about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/parser/test_data/generated
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-07-09 18:55:27 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2025-07-09 18:55:27 +0300
commit90653b0f5cbe567cee2489c0b71ce4ddd26c8f71 (patch)
tree26f1524a650d5aef4c81455d5f37a7ff895ebfd0 /src/tools/rust-analyzer/crates/parser/test_data/generated
parentebdd8598d4b08bc11436c5f3d4b1e338d5131a1c (diff)
downloadrust-90653b0f5cbe567cee2489c0b71ce4ddd26c8f71.tar.gz
rust-90653b0f5cbe567cee2489c0b71ce4ddd26c8f71.zip
Make `global_asm!()` work
Because apparently, we were not accepting inline asm in item position, completely breaking it.
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.rs2
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 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");
     }