mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
fix: Fix parsing of integer/keyword name refs in various places
This commit is contained in:
parent
f499faf72b
commit
df7ab62a06
33 changed files with 351 additions and 133 deletions
|
@ -210,10 +210,6 @@ mod ok {
|
|||
run_and_expect_no_errors("test_data/parser/inline/ok/extern_crate_rename.rs");
|
||||
}
|
||||
#[test]
|
||||
fn extern_crate_self() {
|
||||
run_and_expect_no_errors("test_data/parser/inline/ok/extern_crate_self.rs");
|
||||
}
|
||||
#[test]
|
||||
fn field_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/field_expr.rs"); }
|
||||
#[test]
|
||||
fn fn_() { run_and_expect_no_errors("test_data/parser/inline/ok/fn_.rs"); }
|
||||
|
@ -774,6 +770,10 @@ mod err {
|
|||
run_and_expect_errors("test_data/parser/inline/err/pointer_type_no_mutability.rs");
|
||||
}
|
||||
#[test]
|
||||
fn precise_capturing_invalid() {
|
||||
run_and_expect_errors("test_data/parser/inline/err/precise_capturing_invalid.rs");
|
||||
}
|
||||
#[test]
|
||||
fn pub_expr() { run_and_expect_errors("test_data/parser/inline/err/pub_expr.rs"); }
|
||||
#[test]
|
||||
fn record_literal_before_ellipsis_recovery() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue