mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
fix: Improve parser recovery a bit
This commit is contained in:
parent
62e7e2b489
commit
e0dca847ad
15 changed files with 86 additions and 20 deletions
|
|
@ -870,6 +870,10 @@ mod err {
|
|||
run_and_expect_errors("test_data/parser/inline/err/tuple_pat_leading_comma.rs");
|
||||
}
|
||||
#[test]
|
||||
fn type_in_array_recover() {
|
||||
run_and_expect_errors("test_data/parser/inline/err/type_in_array_recover.rs");
|
||||
}
|
||||
#[test]
|
||||
fn unsafe_block_in_mod() {
|
||||
run_and_expect_errors("test_data/parser/inline/err/unsafe_block_in_mod.rs");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue