mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Make global_asm!() work
Because apparently, we were not accepting inline asm in item position, completely breaking it.
This commit is contained in:
parent
bd8087e86e
commit
95c04c4503
13 changed files with 58 additions and 36 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue