diff options
author | Benjamin Coenen <[email protected]> | 2020-05-02 19:27:02 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-05-02 19:27:02 +0100 |
commit | 4613497a7714c6cd87166e6525d764d75f8acefd (patch) | |
tree | 2527ae2c0ef2ef100efee3fcb8899f8e34d0d573 /crates/ra_syntax/test_data/parser/inline | |
parent | 19e28888aa41b2845b47adb7314aed99d3c48679 (diff) | |
parent | 89e1f97515c36ab97bd378d972cabec0feb6d77e (diff) |
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into fix_4202
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline')
120 files changed, 5018 insertions, 5139 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast index 85bf276a0..75668c818 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast | |||
@@ -9,19 +9,18 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] "\'loop" |
18 | [email protected] "\'loop" | 18 | [email protected] ":" |
19 | [email protected] ":" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "impl" |
22 | [email protected] "impl" | 22 | [email protected] "\n" |
23 | [email protected] "\n" | 23 | [email protected] "}" |
24 | [email protected] "}" | ||
25 | [email protected] "\n" | 24 | [email protected] "\n" |
26 | error 22..22: expected a loop | 25 | error 22..22: expected a loop |
27 | error 22..22: expected SEMICOLON | 26 | error 22..22: expected SEMICOLON |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast b/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast index b901c17f7..c789e8d82 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast | |||
@@ -8,9 +8,8 @@ [email protected] | |||
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] | 11 | [email protected] "{" |
12 | [email protected] "{" | 12 | [email protected] "}" |
13 | [email protected] "}" | ||
14 | [email protected] " " | 13 | [email protected] " " |
15 | [email protected] | 14 | [email protected] |
16 | [email protected] "unsafe" | 15 | [email protected] "unsafe" |
@@ -29,9 +28,8 @@ [email protected] | |||
29 | [email protected] "(" | 28 | [email protected] "(" |
30 | [email protected] ")" | 29 | [email protected] ")" |
31 | [email protected] | 30 | [email protected] |
32 | [email protected] | 31 | [email protected] "{" |
33 | [email protected] "{" | 32 | [email protected] "}" |
34 | [email protected] "}" | ||
35 | [email protected] "\n" | 33 | [email protected] "\n" |
36 | error 11..11: expected an item | 34 | error 11..11: expected an item |
37 | error 18..18: expected an item | 35 | error 18..18: expected an item |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast index 3f48b86ed..cd24313d4 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast | |||
@@ -9,24 +9,23 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "async" |
24 | [email protected] "async" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "{" |
27 | [email protected] "{" | 27 | [email protected] "}" |
28 | [email protected] "}" | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] "}" |
30 | [email protected] "}" | ||
31 | [email protected] "\n" | 30 | [email protected] "\n" |
32 | error 27..27: expected SEMICOLON | 31 | error 27..27: expected SEMICOLON |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast b/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast index be02eaeeb..c5fa7a404 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast | |||
@@ -9,18 +9,17 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "pub" |
17 | [email protected] "pub" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "92" |
21 | [email protected] "92" | 21 | [email protected] ";" |
22 | [email protected] ";" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] "}" |
24 | [email protected] "}" | ||
25 | [email protected] "\n" | 24 | [email protected] "\n" |
26 | error 14..14: expected an item | 25 | error 14..14: expected an item |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast b/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast index b344e4f7f..0656fdf73 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast | |||
@@ -9,53 +9,51 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "#" |
17 | [email protected] "#" | 17 | [email protected] "[" |
18 | [email protected] "[" | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "A" |
22 | [email protected] "A" | 22 | [email protected] "]" |
23 | [email protected] "]" | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "1" |
27 | [email protected] "1" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] "+" |
29 | [email protected] "+" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "2" |
32 | [email protected] "2" | 32 | [email protected] ";" |
33 | [email protected] ";" | 33 | [email protected] "\n " |
34 | [email protected] "\n " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "#" |
37 | [email protected] "#" | 37 | [email protected] "[" |
38 | [email protected] "[" | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "B" |
42 | [email protected] "B" | 42 | [email protected] "]" |
43 | [email protected] "]" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "if" |
46 | [email protected] "if" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "true" |
50 | [email protected] "true" | 50 | [email protected] " " |
51 | [email protected] " " | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "{" |
53 | [email protected] | 53 | [email protected] "}" |
54 | [email protected] "{" | 54 | [email protected] ";" |
55 | [email protected] "}" | 55 | [email protected] "\n" |
56 | [email protected] ";" | 56 | [email protected] "}" |
57 | [email protected] "\n" | ||
58 | [email protected] "}" | ||
59 | [email protected] "\n" | 57 | [email protected] "\n" |
60 | error 24..24: attributes are not allowed on BIN_EXPR | 58 | error 24..24: attributes are not allowed on BIN_EXPR |
61 | error 44..44: attributes are not allowed on IF_EXPR | 59 | error 44..44: attributes are not allowed on IF_EXPR |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast index 5339a84d7..e1abc5633 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast | |||
@@ -9,45 +9,44 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "x" |
21 | [email protected] "x" | 21 | [email protected] "." |
22 | [email protected] "." | 22 | [email protected] "0." |
23 | [email protected] "0." | 23 | [email protected] ";" |
24 | [email protected] ";" | 24 | [email protected] "\n " |
25 | [email protected] "\n " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "x" |
32 | [email protected] "x" | 32 | [email protected] "." |
33 | [email protected] "." | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "1i32" |
35 | [email protected] "1i32" | 35 | [email protected] ";" |
36 | [email protected] ";" | 36 | [email protected] "\n " |
37 | [email protected] "\n " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] "x" |
44 | [email protected] "x" | 44 | [email protected] "." |
45 | [email protected] "." | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "0x01" |
47 | [email protected] "0x01" | 47 | [email protected] ";" |
48 | [email protected] ";" | 48 | [email protected] "\n" |
49 | [email protected] "\n" | 49 | [email protected] "}" |
50 | [email protected] "}" | ||
51 | [email protected] "\n" | 50 | [email protected] "\n" |
52 | error 27..31: Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | 51 | error 27..31: Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix |
53 | error 39..43: Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | 52 | error 39..43: Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast index 20ed39046..9be441110 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast | |||
@@ -14,9 +14,8 @@ [email protected] | |||
14 | [email protected] ")" | 14 | [email protected] ")" |
15 | [email protected] " " | 15 | [email protected] " " |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] "{" |
18 | [email protected] "{" | 18 | [email protected] "}" |
19 | [email protected] "}" | ||
20 | [email protected] "\n" | 19 | [email protected] "\n" |
21 | [email protected] | 20 | [email protected] |
22 | [email protected] "unsafe" | 21 | [email protected] "unsafe" |
@@ -33,9 +32,8 @@ [email protected] | |||
33 | [email protected] ")" | 32 | [email protected] ")" |
34 | [email protected] " " | 33 | [email protected] " " |
35 | [email protected] | 34 | [email protected] |
36 | [email protected] | 35 | [email protected] "{" |
37 | [email protected] "{" | 36 | [email protected] "}" |
38 | [email protected] "}" | ||
39 | [email protected] "\n" | 37 | [email protected] "\n" |
40 | error 6..6: expected existential, fn, trait or impl | 38 | error 6..6: expected existential, fn, trait or impl |
41 | error 31..31: expected existential, fn, trait or impl | 39 | error 31..31: expected existential, fn, trait or impl |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast b/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast index 88567263e..b8cd0587d 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast | |||
@@ -45,9 +45,8 @@ [email protected] | |||
45 | [email protected] ")" | 45 | [email protected] ")" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "{" |
49 | [email protected] "{" | 49 | [email protected] "}" |
50 | [email protected] "}" | ||
51 | [email protected] "\n" | 50 | [email protected] "\n" |
52 | [email protected] "}" | 51 | [email protected] "}" |
53 | [email protected] "\n" | 52 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast b/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast index 578befa56..a9de44b57 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast | |||
@@ -9,41 +9,40 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "S" |
19 | [email protected] "S" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "{" |
22 | [email protected] "{" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "field" |
26 | [email protected] "field" | 26 | [email protected] " " |
27 | [email protected] " " | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] ".." |
29 | [email protected] ".." | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "S" |
36 | [email protected] "S" | 36 | [email protected] "::" |
37 | [email protected] "::" | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "default" |
40 | [email protected] "default" | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "(" |
42 | [email protected] "(" | 42 | [email protected] ")" |
43 | [email protected] ")" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] "}" |
45 | [email protected] "}" | 45 | [email protected] "\n" |
46 | [email protected] "\n" | 46 | [email protected] "}" |
47 | [email protected] "}" | ||
48 | [email protected] "\n" | 47 | [email protected] "\n" |
49 | error 25..25: expected COLON | 48 | error 25..25: expected COLON |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast index a1fabb557..a38b4f573 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast | |||
@@ -51,9 +51,8 @@ [email protected] | |||
51 | [email protected] ")" | 51 | [email protected] ")" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "{" |
55 | [email protected] "{" | 55 | [email protected] "}" |
56 | [email protected] "}" | ||
57 | [email protected] "\n " | 56 | [email protected] "\n " |
58 | [email protected] | 57 | [email protected] |
59 | [email protected] "fn" | 58 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast index bd74b44a6..cf3a90400 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast | |||
@@ -1,4 +1,4 @@ | |||
1 | [email protected]50 | 1 | [email protected]49 |
2 | [email protected] | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
@@ -104,32 +104,33 @@ [email protected] | |||
104 | [email protected] " " | 104 | [email protected] " " |
105 | [email protected] "// Rust 2015" | 105 | [email protected] "// Rust 2015" |
106 | [email protected] "\n" | 106 | [email protected] "\n" |
107 | [email protected]6 | 107 | [email protected]5 |
108 | [email protected] "use" | 108 | [email protected] "use" |
109 | [email protected] " " | 109 | [email protected] " " |
110 | [email protected]5 | 110 | [email protected]4 |
111 | [email protected] "::" | 111 | [email protected] "::" |
112 | [email protected]5 | 112 | [email protected]4 |
113 | [email protected] "{" | 113 | [email protected] "{" |
114 | [email protected]4 | 114 | [email protected]3 |
115 | [email protected]4 | 115 | [email protected]3 |
116 | [email protected] "{" | 116 | [email protected] "{" |
117 | [email protected]3 | 117 | [email protected]2 |
118 | [email protected]3 | 118 | [email protected]2 |
119 | [email protected] "{" | 119 | [email protected] "{" |
120 | [email protected] | 120 | [email protected] |
121 | [email protected] | 121 | [email protected] |
122 | [email protected] | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] |
124 | [email protected] "crate" | 124 | [email protected] |
125 | [email protected] "::" | 125 | [email protected] "root" |
126 | [email protected] | 126 | [email protected] "::" |
127 | [email protected] | 127 | [email protected] |
128 | [email protected] "export" | 128 | [email protected] |
129 | [email protected] "}" | 129 | [email protected] "export" |
130 | [email protected] "}" | 130 | [email protected] "}" |
131 | [email protected] "}" | 131 | [email protected] "}" |
132 | [email protected] ";" | 132 | [email protected] "}" |
133 | [email protected] " " | 133 | [email protected] ";" |
134 | [email protected] "// Nonsensical but pe ..." | 134 | [email protected] " " |
135 | [email protected] "\n" | 135 | [email protected] "// Nonsensical but pe ..." |
136 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs index 06c387cee..381cba1e2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs +++ b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs | |||
@@ -1,4 +1,4 @@ | |||
1 | use {crate::path::from::root, or::path::from::crate_name}; // Rust 2018 (with a crate named `or`) | 1 | use {crate::path::from::root, or::path::from::crate_name}; // Rust 2018 (with a crate named `or`) |
2 | use {path::from::root}; // Rust 2015 | 2 | use {path::from::root}; // Rust 2015 |
3 | use ::{some::arbritrary::path}; // Rust 2015 | 3 | use ::{some::arbritrary::path}; // Rust 2015 |
4 | use ::{{{crate::export}}}; // Nonsensical but perfectly legal nestnig | 4 | use ::{{{root::export}}}; // Nonsensical but perfectly legal nesting |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast index a46d76fde..9dc473e43 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast | |||
@@ -55,8 +55,7 @@ [email protected] | |||
55 | [email protected] ")" | 55 | [email protected] ")" |
56 | [email protected] "\n" | 56 | [email protected] "\n" |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "{" |
59 | [email protected] "{" | 59 | [email protected] " " |
60 | [email protected] " " | 60 | [email protected] "}" |
61 | [email protected] "}" | ||
62 | [email protected] "\n" | 61 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast index 5181fcd2b..6c8c1e24b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast | |||
@@ -32,7 +32,6 @@ [email protected] | |||
32 | [email protected] "(" | 32 | [email protected] "(" |
33 | [email protected] ")" | 33 | [email protected] ")" |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "{" |
36 | [email protected] "{" | 36 | [email protected] "}" |
37 | [email protected] "}" | ||
38 | [email protected] "\n" | 37 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast index dd41b44e1..9f4a9e69b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast | |||
@@ -23,9 +23,8 @@ [email protected] | |||
23 | [email protected] ")" | 23 | [email protected] ")" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "{" |
27 | [email protected] "{" | 27 | [email protected] "}" |
28 | [email protected] "}" | ||
29 | [email protected] "\n " | 28 | [email protected] "\n " |
30 | [email protected] | 29 | [email protected] |
31 | [email protected] "fn" | 30 | [email protected] "fn" |
@@ -41,9 +40,8 @@ [email protected] | |||
41 | [email protected] ")" | 40 | [email protected] ")" |
42 | [email protected] " " | 41 | [email protected] " " |
43 | [email protected] | 42 | [email protected] |
44 | [email protected] | 43 | [email protected] "{" |
45 | [email protected] "{" | 44 | [email protected] "}" |
46 | [email protected] "}" | ||
47 | [email protected] "\n " | 45 | [email protected] "\n " |
48 | [email protected] | 46 | [email protected] |
49 | [email protected] "fn" | 47 | [email protected] "fn" |
@@ -61,9 +59,8 @@ [email protected] | |||
61 | [email protected] ")" | 59 | [email protected] ")" |
62 | [email protected] " " | 60 | [email protected] " " |
63 | [email protected] | 61 | [email protected] |
64 | [email protected] | 62 | [email protected] "{" |
65 | [email protected] "{" | 63 | [email protected] "}" |
66 | [email protected] "}" | ||
67 | [email protected] "\n " | 64 | [email protected] "\n " |
68 | [email protected] | 65 | [email protected] |
69 | [email protected] "fn" | 66 | [email protected] "fn" |
@@ -95,9 +92,8 @@ [email protected] | |||
95 | [email protected] ")" | 92 | [email protected] ")" |
96 | [email protected] " " | 93 | [email protected] " " |
97 | [email protected] | 94 | [email protected] |
98 | [email protected] | 95 | [email protected] "{" |
99 | [email protected] "{" | 96 | [email protected] "}" |
100 | [email protected] "}" | ||
101 | [email protected] "\n " | 97 | [email protected] "\n " |
102 | [email protected] | 98 | [email protected] |
103 | [email protected] "fn" | 99 | [email protected] "fn" |
@@ -113,9 +109,8 @@ [email protected] | |||
113 | [email protected] ")" | 109 | [email protected] ")" |
114 | [email protected] " " | 110 | [email protected] " " |
115 | [email protected] | 111 | [email protected] |
116 | [email protected] | 112 | [email protected] "{" |
117 | [email protected] "{" | 113 | [email protected] "}" |
118 | [email protected] "}" | ||
119 | [email protected] "\n" | 114 | [email protected] "\n" |
120 | [email protected] "}" | 115 | [email protected] "}" |
121 | [email protected] "\n" | 116 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast b/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast index a8ddd20c9..10eb31d68 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast | |||
@@ -9,89 +9,88 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "foo" |
23 | [email protected] "foo" | 23 | [email protected] "::" |
24 | [email protected] "::" | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "Bar" |
27 | [email protected] "Bar" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] "=" |
29 | [email protected] "=" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "(" |
32 | [email protected] "(" | 32 | [email protected] ")" |
33 | [email protected] ")" | 33 | [email protected] ";" |
34 | [email protected] ";" | 34 | [email protected] "\n " |
35 | [email protected] "\n " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "let" |
37 | [email protected] "let" | 37 | [email protected] " " |
38 | [email protected] " " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "::" |
42 | [email protected] "::" | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] "Bar" |
44 | [email protected] "Bar" | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] "=" |
46 | [email protected] "=" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "(" |
49 | [email protected] "(" | 49 | [email protected] ")" |
50 | [email protected] ")" | 50 | [email protected] ";" |
51 | [email protected] ";" | 51 | [email protected] "\n " |
52 | [email protected] "\n " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "let" |
54 | [email protected] "let" | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "Bar" |
60 | [email protected] "Bar" | 60 | [email protected] " " |
61 | [email protected] " " | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "{" |
63 | [email protected] "{" | 63 | [email protected] " " |
64 | [email protected] " " | 64 | [email protected] ".." |
65 | [email protected] ".." | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] "}" |
67 | [email protected] "}" | 67 | [email protected] " " |
68 | [email protected] " " | 68 | [email protected] "=" |
69 | [email protected] "=" | 69 | [email protected] " " |
70 | [email protected] " " | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "(" |
72 | [email protected] "(" | 72 | [email protected] ")" |
73 | [email protected] ")" | 73 | [email protected] ";" |
74 | [email protected] ";" | 74 | [email protected] "\n " |
75 | [email protected] "\n " | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "let" |
77 | [email protected] "let" | 77 | [email protected] " " |
78 | [email protected] " " | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] "Bar" |
83 | [email protected] "Bar" | 83 | [email protected] "(" |
84 | [email protected] "(" | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] ".." |
86 | [email protected] ".." | 86 | [email protected] ")" |
87 | [email protected] ")" | 87 | [email protected] " " |
88 | [email protected] " " | 88 | [email protected] "=" |
89 | [email protected] "=" | 89 | [email protected] " " |
90 | [email protected] " " | 90 | [email protected] |
91 | [email protected] | 91 | [email protected] "(" |
92 | [email protected] "(" | 92 | [email protected] ")" |
93 | [email protected] ")" | 93 | [email protected] ";" |
94 | [email protected] ";" | 94 | [email protected] "\n" |
95 | [email protected] "\n" | 95 | [email protected] "}" |
96 | [email protected] "}" | ||
97 | [email protected] "\n" | 96 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast index df8ada62a..425e5196c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast | |||
@@ -9,18 +9,16 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "loop" |
17 | [email protected] "loop" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "{" |
20 | [email protected] | 20 | [email protected] "}" |
21 | [email protected] "{" | 21 | [email protected] ";" |
22 | [email protected] "}" | 22 | [email protected] "\n" |
23 | [email protected] ";" | 23 | [email protected] "}" |
24 | [email protected] "\n" | ||
25 | [email protected] "}" | ||
26 | [email protected] "\n" | 24 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast index de01cc79e..d823c08fc 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast | |||
@@ -9,52 +9,51 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "x" |
21 | [email protected] "x" | 21 | [email protected] "." |
22 | [email protected] "." | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "foo" |
24 | [email protected] "foo" | 24 | [email protected] ";" |
25 | [email protected] ";" | 25 | [email protected] "\n " |
26 | [email protected] "\n " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "x" |
34 | [email protected] "x" | 34 | [email protected] "." |
35 | [email protected] "." | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "0" |
37 | [email protected] "0" | 37 | [email protected] "." |
38 | [email protected] "." | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "bar" |
40 | [email protected] "bar" | 40 | [email protected] ";" |
41 | [email protected] ";" | 41 | [email protected] "\n " |
42 | [email protected] "\n " | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "x" |
50 | [email protected] "x" | 50 | [email protected] "." |
51 | [email protected] "." | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "0" |
53 | [email protected] "0" | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "(" |
55 | [email protected] "(" | 55 | [email protected] ")" |
56 | [email protected] ")" | 56 | [email protected] ";" |
57 | [email protected] ";" | 57 | [email protected] "\n" |
58 | [email protected] "\n" | 58 | [email protected] "}" |
59 | [email protected] "}" | ||
60 | [email protected] "\n" | 59 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast index 8ac307cb3..422912e3c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast | |||
@@ -9,29 +9,27 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "loop" |
16 | [email protected] "loop" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "{" |
19 | [email protected] | 19 | [email protected] "\n " |
20 | [email protected] "{" | 20 | [email protected] |
21 | [email protected] "\n " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "continue" |
23 | [email protected] | 23 | [email protected] ";" |
24 | [email protected] "continue" | 24 | [email protected] "\n " |
25 | [email protected] ";" | 25 | [email protected] |
26 | [email protected] "\n " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "continue" |
28 | [email protected] | 28 | [email protected] " " |
29 | [email protected] "continue" | 29 | [email protected] "\'l" |
30 | [email protected] " " | 30 | [email protected] ";" |
31 | [email protected] "\'l" | 31 | [email protected] "\n " |
32 | [email protected] ";" | 32 | [email protected] "}" |
33 | [email protected] "\n " | 33 | [email protected] "\n" |
34 | [email protected] "}" | 34 | [email protected] "}" |
35 | [email protected] "\n" | ||
36 | [email protected] "}" | ||
37 | [email protected] "\n" | 35 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast index 6f6400d00..15da6fdd6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast | |||
@@ -32,9 +32,8 @@ [email protected] | |||
32 | [email protected] ")" | 32 | [email protected] ")" |
33 | [email protected] " " | 33 | [email protected] " " |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "{" |
36 | [email protected] "{" | 36 | [email protected] "}" |
37 | [email protected] "}" | ||
38 | [email protected] "\n " | 37 | [email protected] "\n " |
39 | [email protected] | 38 | [email protected] |
40 | [email protected] "fn" | 39 | [email protected] "fn" |
@@ -66,9 +65,8 @@ [email protected] | |||
66 | [email protected] ")" | 65 | [email protected] ")" |
67 | [email protected] " " | 66 | [email protected] " " |
68 | [email protected] | 67 | [email protected] |
69 | [email protected] | 68 | [email protected] "{" |
70 | [email protected] "{" | 69 | [email protected] "}" |
71 | [email protected] "}" | ||
72 | [email protected] "\n" | 70 | [email protected] "\n" |
73 | [email protected] "}" | 71 | [email protected] "}" |
74 | [email protected] "\n" | 72 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast index ba422f1ae..10d6b2fde 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast | |||
@@ -9,37 +9,36 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "*" |
17 | [email protected] "*" | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "*" |
19 | [email protected] "*" | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "&" |
21 | [email protected] "&" | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "1" |
23 | [email protected] "1" | 23 | [email protected] ";" |
24 | [email protected] ";" | 24 | [email protected] "\n " |
25 | [email protected] "\n " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "!" |
28 | [email protected] "!" | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "!" |
30 | [email protected] "!" | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "true" |
32 | [email protected] "true" | 32 | [email protected] ";" |
33 | [email protected] ";" | 33 | [email protected] "\n " |
34 | [email protected] "\n " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "-" |
37 | [email protected] "-" | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "-" |
39 | [email protected] "-" | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "1" |
41 | [email protected] "1" | 41 | [email protected] ";" |
42 | [email protected] ";" | 42 | [email protected] "\n" |
43 | [email protected] "\n" | 43 | [email protected] "}" |
44 | [email protected] "}" | ||
45 | [email protected] "\n" | 44 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast index de22b22dd..c204aeb63 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast | |||
@@ -55,9 +55,8 @@ [email protected] | |||
55 | [email protected] ")" | 55 | [email protected] ")" |
56 | [email protected] " " | 56 | [email protected] " " |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "{" |
59 | [email protected] "{" | 59 | [email protected] "}" |
60 | [email protected] "}" | ||
61 | [email protected] "\n " | 60 | [email protected] "\n " |
62 | [email protected] | 61 | [email protected] |
63 | [email protected] "fn" | 62 | [email protected] "fn" |
@@ -72,9 +71,8 @@ [email protected] | |||
72 | [email protected] ")" | 71 | [email protected] ")" |
73 | [email protected] " " | 72 | [email protected] " " |
74 | [email protected] | 73 | [email protected] |
75 | [email protected] | 74 | [email protected] "{" |
76 | [email protected] "{" | 75 | [email protected] "}" |
77 | [email protected] "}" | ||
78 | [email protected] "\n" | 76 | [email protected] "\n" |
79 | [email protected] "}" | 77 | [email protected] "}" |
80 | [email protected] "\n" | 78 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast index 7da292a2d..7eb27d5e1 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast | |||
@@ -9,34 +9,33 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "[" |
19 | [email protected] "[" | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "a" |
22 | [email protected] "a" | 22 | [email protected] "," |
23 | [email protected] "," | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "b" |
27 | [email protected] "b" | 27 | [email protected] "," |
28 | [email protected] "," | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] ".." |
31 | [email protected] ".." | 31 | [email protected] "]" |
32 | [email protected] "]" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] "=" |
34 | [email protected] "=" | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "[" |
37 | [email protected] "[" | 37 | [email protected] "]" |
38 | [email protected] "]" | 38 | [email protected] ";" |
39 | [email protected] ";" | 39 | [email protected] "\n" |
40 | [email protected] "\n" | 40 | [email protected] "}" |
41 | [email protected] "}" | ||
42 | [email protected] "\n" | 41 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast index 574942f06..b4598768e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast | |||
@@ -9,97 +9,96 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "S" |
22 | [email protected] "S" | 22 | [email protected] "(" |
23 | [email protected] "(" | 23 | [email protected] ")" |
24 | [email protected] ")" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] "=" |
26 | [email protected] "=" | 26 | [email protected] " " |
27 | [email protected] " " | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "(" |
29 | [email protected] "(" | 29 | [email protected] ")" |
30 | [email protected] ")" | 30 | [email protected] ";" |
31 | [email protected] ";" | 31 | [email protected] "\n " |
32 | [email protected] "\n " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "let" |
34 | [email protected] "let" | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "S" |
40 | [email protected] "S" | 40 | [email protected] "(" |
41 | [email protected] "(" | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "_" |
43 | [email protected] "_" | 43 | [email protected] ")" |
44 | [email protected] ")" | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] "=" |
46 | [email protected] "=" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "(" |
49 | [email protected] "(" | 49 | [email protected] ")" |
50 | [email protected] ")" | 50 | [email protected] ";" |
51 | [email protected] ";" | 51 | [email protected] "\n " |
52 | [email protected] "\n " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "let" |
54 | [email protected] "let" | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "S" |
60 | [email protected] "S" | 60 | [email protected] "(" |
61 | [email protected] "(" | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "_" |
63 | [email protected] "_" | 63 | [email protected] "," |
64 | [email protected] "," | 64 | [email protected] ")" |
65 | [email protected] ")" | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] "=" |
67 | [email protected] "=" | 67 | [email protected] " " |
68 | [email protected] " " | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] "(" |
70 | [email protected] "(" | 70 | [email protected] ")" |
71 | [email protected] ")" | 71 | [email protected] ";" |
72 | [email protected] ";" | 72 | [email protected] "\n " |
73 | [email protected] "\n " | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] "let" |
75 | [email protected] "let" | 75 | [email protected] " " |
76 | [email protected] " " | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] "S" |
81 | [email protected] "S" | 81 | [email protected] "(" |
82 | [email protected] "(" | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "_" |
84 | [email protected] "_" | 84 | [email protected] "," |
85 | [email protected] "," | 85 | [email protected] " " |
86 | [email protected] " " | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] ".." |
88 | [email protected] ".." | 88 | [email protected] " " |
89 | [email protected] " " | 89 | [email protected] "," |
90 | [email protected] "," | 90 | [email protected] " " |
91 | [email protected] " " | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] "x" |
94 | [email protected] "x" | 94 | [email protected] ")" |
95 | [email protected] ")" | 95 | [email protected] " " |
96 | [email protected] " " | 96 | [email protected] "=" |
97 | [email protected] "=" | 97 | [email protected] " " |
98 | [email protected] " " | 98 | [email protected] |
99 | [email protected] | 99 | [email protected] "(" |
100 | [email protected] "(" | 100 | [email protected] ")" |
101 | [email protected] ")" | 101 | [email protected] ";" |
102 | [email protected] ";" | 102 | [email protected] "\n" |
103 | [email protected] "\n" | 103 | [email protected] "}" |
104 | [email protected] "}" | ||
105 | [email protected] "\n" | 104 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast index 1927438bb..b824c10a8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast | |||
@@ -9,42 +9,41 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "&" |
19 | [email protected] "&" | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "a" |
22 | [email protected] "a" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] "=" |
24 | [email protected] "=" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "(" |
27 | [email protected] "(" | 27 | [email protected] ")" |
28 | [email protected] ")" | 28 | [email protected] ";" |
29 | [email protected] ";" | 29 | [email protected] "\n " |
30 | [email protected] "\n " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "let" |
32 | [email protected] "let" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "&" |
35 | [email protected] "&" | 35 | [email protected] "mut" |
36 | [email protected] "mut" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "b" |
40 | [email protected] "b" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] "=" |
42 | [email protected] "=" | 42 | [email protected] " " |
43 | [email protected] " " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] "(" |
45 | [email protected] "(" | 45 | [email protected] ")" |
46 | [email protected] ")" | 46 | [email protected] ";" |
47 | [email protected] ";" | 47 | [email protected] "\n" |
48 | [email protected] "\n" | 48 | [email protected] "}" |
49 | [email protected] "}" | ||
50 | [email protected] "\n" | 49 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast index 9effb345f..fabb09937 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast | |||
@@ -9,82 +9,81 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] "82" |
18 | [email protected] "82" | 18 | [email protected] " " |
19 | [email protected] " " | 19 | [email protected] "as" |
20 | [email protected] "as" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "i32" |
26 | [email protected] "i32" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "81" |
33 | [email protected] "81" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] "as" |
35 | [email protected] "as" | 35 | [email protected] " " |
36 | [email protected] " " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "i8" |
41 | [email protected] "i8" | 41 | [email protected] " " |
42 | [email protected] " " | 42 | [email protected] "+" |
43 | [email protected] "+" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "1" |
46 | [email protected] "1" | 46 | [email protected] ";" |
47 | [email protected] ";" | 47 | [email protected] "\n " |
48 | [email protected] "\n " | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "79" |
53 | [email protected] "79" | 53 | [email protected] " " |
54 | [email protected] " " | 54 | [email protected] "as" |
55 | [email protected] "as" | 55 | [email protected] " " |
56 | [email protected] " " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] "i16" |
61 | [email protected] "i16" | 61 | [email protected] " " |
62 | [email protected] " " | 62 | [email protected] "-" |
63 | [email protected] "-" | 63 | [email protected] " " |
64 | [email protected] " " | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] "1" |
66 | [email protected] "1" | 66 | [email protected] ";" |
67 | [email protected] ";" | 67 | [email protected] "\n " |
68 | [email protected] "\n " | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] |
72 | [email protected] | 72 | [email protected] "0x36" |
73 | [email protected] "0x36" | 73 | [email protected] " " |
74 | [email protected] " " | 74 | [email protected] "as" |
75 | [email protected] "as" | 75 | [email protected] " " |
76 | [email protected] " " | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] "u8" |
81 | [email protected] "u8" | 81 | [email protected] " " |
82 | [email protected] " " | 82 | [email protected] "<=" |
83 | [email protected] "<=" | 83 | [email protected] " " |
84 | [email protected] " " | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] "0x37" |
86 | [email protected] "0x37" | 86 | [email protected] ";" |
87 | [email protected] ";" | 87 | [email protected] "\n" |
88 | [email protected] "\n" | 88 | [email protected] "}" |
89 | [email protected] "}" | ||
90 | [email protected] "\n" | 89 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast b/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast index b6759541e..3aed26732 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast | |||
@@ -9,39 +9,37 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "if" |
16 | [email protected] "if" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "let" |
19 | [email protected] "let" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "Some" |
25 | [email protected] "Some" | 25 | [email protected] "(" |
26 | [email protected] "(" | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "_" |
28 | [email protected] "_" | 28 | [email protected] ")" |
29 | [email protected] ")" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] "=" |
31 | [email protected] "=" | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "None" |
37 | [email protected] "None" | 37 | [email protected] " " |
38 | [email protected] " " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "{" |
40 | [email protected] | 40 | [email protected] "}" |
41 | [email protected] "{" | 41 | [email protected] " " |
42 | [email protected] "}" | 42 | [email protected] "}" |
43 | [email protected] " " | ||
44 | [email protected] "}" | ||
45 | [email protected] "\n" | 43 | [email protected] "\n" |
46 | [email protected] | 44 | [email protected] |
47 | [email protected] "fn" | 45 | [email protected] "fn" |
@@ -53,157 +51,152 @@ [email protected] | |||
53 | [email protected] ")" | 51 | [email protected] ")" |
54 | [email protected] " " | 52 | [email protected] " " |
55 | [email protected] | 53 | [email protected] |
56 | [email protected] | 54 | [email protected] "{" |
57 | [email protected] "{" | 55 | [email protected] "\n " |
58 | [email protected] "\n " | 56 | [email protected] |
59 | [email protected] | 57 | [email protected] |
60 | [email protected] | 58 | [email protected] "if" |
61 | [email protected] "if" | 59 | [email protected] " " |
62 | [email protected] " " | 60 | [email protected] |
63 | [email protected] | 61 | [email protected] "let" |
64 | [email protected] "let" | 62 | [email protected] " " |
65 | [email protected] " " | 63 | [email protected] |
66 | [email protected] | 64 | [email protected] |
67 | [email protected] | 65 | [email protected] |
68 | [email protected] | 66 | [email protected] |
69 | [email protected] | 67 | [email protected] |
70 | [email protected] | 68 | [email protected] "Some" |
71 | [email protected] "Some" | 69 | [email protected] "(" |
72 | [email protected] "(" | 70 | [email protected] |
73 | [email protected] | 71 | [email protected] "_" |
74 | [email protected] "_" | 72 | [email protected] ")" |
75 | [email protected] ")" | 73 | [email protected] " " |
76 | [email protected] " " | 74 | [email protected] "|" |
77 | [email protected] "|" | 75 | [email protected] " " |
78 | [email protected] " " | 76 | [email protected] |
79 | [email protected] | 77 | [email protected] |
80 | [email protected] | 78 | [email protected] |
81 | [email protected] | 79 | [email protected] |
82 | [email protected] | 80 | [email protected] "Some" |
83 | [email protected] "Some" | 81 | [email protected] "(" |
84 | [email protected] "(" | 82 | [email protected] |
85 | [email protected] | 83 | [email protected] "_" |
86 | [email protected] "_" | 84 | [email protected] ")" |
87 | [email protected] ")" | 85 | [email protected] " " |
88 | [email protected] " " | 86 | [email protected] "=" |
89 | [email protected] "=" | 87 | [email protected] " " |
90 | [email protected] " " | 88 | [email protected] |
91 | [email protected] | 89 | [email protected] |
92 | [email protected] | 90 | [email protected] |
93 | [email protected] | 91 | [email protected] |
94 | [email protected] | 92 | [email protected] "None" |
95 | [email protected] "None" | 93 | [email protected] " " |
96 | [email protected] " " | 94 | [email protected] |
97 | [email protected] | 95 | [email protected] "{" |
98 | [email protected] | 96 | [email protected] "}" |
99 | [email protected] "{" | 97 | [email protected] "\n " |
100 | [email protected] "}" | 98 | [email protected] |
101 | [email protected] "\n " | 99 | [email protected] |
102 | [email protected] | 100 | [email protected] "if" |
103 | [email protected] | 101 | [email protected] " " |
104 | [email protected] "if" | 102 | [email protected] |
105 | [email protected] " " | 103 | [email protected] "let" |
106 | [email protected] | 104 | [email protected] " " |
107 | [email protected] "let" | 105 | [email protected] "|" |
108 | [email protected] " " | 106 | [email protected] " " |
109 | [email protected] "|" | 107 | [email protected] |
110 | [email protected] " " | 108 | [email protected] |
111 | [email protected] | 109 | [email protected] |
112 | [email protected] | 110 | [email protected] |
113 | [email protected] | 111 | [email protected] "Some" |
114 | [email protected] | 112 | [email protected] "(" |
115 | [email protected] "Some" | 113 | [email protected] |
116 | [email protected] "(" | 114 | [email protected] "_" |
117 | [email protected] | 115 | [email protected] ")" |
118 | [email protected] "_" | 116 | [email protected] " " |
119 | [email protected] ")" | 117 | [email protected] "=" |
120 | [email protected] " " | 118 | [email protected] " " |
121 | [email protected] "=" | 119 | [email protected] |
122 | [email protected] " " | 120 | [email protected] |
123 | [email protected] | 121 | [email protected] |
124 | [email protected] | 122 | [email protected] |
125 | [email protected] | 123 | [email protected] "None" |
126 | [email protected] | 124 | [email protected] " " |
127 | [email protected] "None" | 125 | [email protected] |
128 | [email protected] " " | 126 | [email protected] "{" |
129 | [email protected] | 127 | [email protected] "}" |
130 | [email protected] | 128 | [email protected] "\n " |
131 | [email protected] "{" | 129 | [email protected] |
132 | [email protected] "}" | 130 | [email protected] |
133 | [email protected] "\n " | 131 | [email protected] "while" |
134 | [email protected] | 132 | [email protected] " " |
135 | [email protected] | 133 | [email protected] |
136 | [email protected] "while" | 134 | [email protected] "let" |
137 | [email protected] " " | 135 | [email protected] " " |
138 | [email protected] | 136 | [email protected] |
139 | [email protected] "let" | 137 | [email protected] |
140 | [email protected] " " | 138 | [email protected] |
141 | [email protected] | 139 | [email protected] |
142 | [email protected] | 140 | [email protected] |
143 | [email protected] | 141 | [email protected] "Some" |
144 | [email protected] | 142 | [email protected] "(" |
145 | [email protected] | 143 | [email protected] |
146 | [email protected] "Some" | 144 | [email protected] "_" |
147 | [email protected] "(" | 145 | [email protected] ")" |
148 | [email protected] | 146 | [email protected] " " |
149 | [email protected] "_" | 147 | [email protected] "|" |
150 | [email protected] ")" | 148 | [email protected] " " |
151 | [email protected] " " | 149 | [email protected] |
152 | [email protected] "|" | 150 | [email protected] |
153 | [email protected] " " | 151 | [email protected] |
154 | [email protected] | 152 | [email protected] |
155 | [email protected] | 153 | [email protected] "Some" |
156 | [email protected] | 154 | [email protected] "(" |
157 | [email protected] | 155 | [email protected] |
158 | [email protected] "Some" | 156 | [email protected] "_" |
159 | [email protected] "(" | 157 | [email protected] ")" |
160 | [email protected] | 158 | [email protected] " " |
161 | [email protected] "_" | 159 | [email protected] "=" |
162 | [email protected] ")" | 160 | [email protected] " " |
163 | [email protected] " " | 161 | [email protected] |
164 | [email protected] "=" | 162 | [email protected] |
165 | [email protected] " " | 163 | [email protected] |
166 | [email protected] | 164 | [email protected] |
167 | [email protected] | 165 | [email protected] "None" |
168 | [email protected] | 166 | [email protected] " " |
169 | [email protected] | 167 | [email protected] |
170 | [email protected] "None" | 168 | [email protected] "{" |
171 | [email protected] " " | 169 | [email protected] "}" |
172 | [email protected] | 170 | [email protected] "\n " |
173 | [email protected] | 171 | [email protected] |
174 | [email protected] "{" | 172 | [email protected] "while" |
175 | [email protected] "}" | 173 | [email protected] " " |
176 | [email protected] "\n " | 174 | [email protected] |
177 | [email protected] | 175 | [email protected] "let" |
178 | [email protected] "while" | 176 | [email protected] " " |
179 | [email protected] " " | 177 | [email protected] "|" |
180 | [email protected] | 178 | [email protected] " " |
181 | [email protected] "let" | 179 | [email protected] |
182 | [email protected] " " | 180 | [email protected] |
183 | [email protected] "|" | 181 | [email protected] |
184 | [email protected] " " | 182 | [email protected] |
185 | [email protected] | 183 | [email protected] "Some" |
186 | [email protected] | 184 | [email protected] "(" |
187 | [email protected] | 185 | [email protected] |
188 | [email protected] | 186 | [email protected] "_" |
189 | [email protected] "Some" | 187 | [email protected] ")" |
190 | [email protected] "(" | 188 | [email protected] " " |
191 | [email protected] | 189 | [email protected] "=" |
192 | [email protected] "_" | 190 | [email protected] " " |
193 | [email protected] ")" | 191 | [email protected] |
194 | [email protected] " " | 192 | [email protected] |
195 | [email protected] "=" | 193 | [email protected] |
196 | [email protected] " " | 194 | [email protected] |
197 | [email protected] | 195 | [email protected] "None" |
198 | [email protected] | 196 | [email protected] " " |
199 | [email protected] | 197 | [email protected] |
200 | [email protected] | 198 | [email protected] "{" |
201 | [email protected] "None" | 199 | [email protected] "}" |
202 | [email protected] " " | 200 | [email protected] "\n" |
203 | [email protected] | 201 | [email protected] "}" |
204 | [email protected] | ||
205 | [email protected] "{" | ||
206 | [email protected] "}" | ||
207 | [email protected] "\n" | ||
208 | [email protected] "}" | ||
209 | [email protected] "\n" | 202 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast index e5138a599..899b63aac 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast | |||
@@ -9,81 +9,76 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "while" |
17 | [email protected] "while" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "true" |
21 | [email protected] "true" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] | 24 | [email protected] "}" |
25 | [email protected] "{" | 25 | [email protected] ";" |
26 | [email protected] "}" | 26 | [email protected] "\n " |
27 | [email protected] ";" | 27 | [email protected] |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "while" |
30 | [email protected] | 30 | [email protected] " " |
31 | [email protected] "while" | 31 | [email protected] |
32 | [email protected] " " | 32 | [email protected] "let" |
33 | [email protected] | 33 | [email protected] " " |
34 | [email protected] "let" | 34 | [email protected] |
35 | [email protected] " " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "Some" |
39 | [email protected] | 39 | [email protected] "(" |
40 | [email protected] "Some" | 40 | [email protected] |
41 | [email protected] "(" | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "x" |
43 | [email protected] | 43 | [email protected] ")" |
44 | [email protected] "x" | 44 | [email protected] " " |
45 | [email protected] ")" | 45 | [email protected] "=" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] "=" | 47 | [email protected] |
48 | [email protected] " " | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "it" |
53 | [email protected] | 53 | [email protected] "." |
54 | [email protected] "it" | 54 | [email protected] |
55 | [email protected] "." | 55 | [email protected] "next" |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] "next" | 57 | [email protected] "(" |
58 | [email protected] | 58 | [email protected] ")" |
59 | [email protected] "(" | 59 | [email protected] " " |
60 | [email protected] ")" | 60 | [email protected] |
61 | [email protected] " " | 61 | [email protected] "{" |
62 | [email protected] | 62 | [email protected] "}" |
63 | [email protected] | 63 | [email protected] ";" |
64 | [email protected] "{" | 64 | [email protected] "\n " |
65 | [email protected] "}" | 65 | [email protected] |
66 | [email protected] ";" | 66 | [email protected] |
67 | [email protected] "\n " | 67 | [email protected] "while" |
68 | [email protected] | 68 | [email protected] " " |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "while" | 70 | [email protected] |
71 | [email protected] " " | 71 | [email protected] "{" |
72 | [email protected] | 72 | [email protected] " " |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] "true" |
75 | [email protected] "{" | 75 | [email protected] " " |
76 | [email protected] " " | 76 | [email protected] "}" |
77 | [email protected] | 77 | [email protected] " " |
78 | [email protected] "true" | 78 | [email protected] |
79 | [email protected] " " | 79 | [email protected] "{" |
80 | [email protected] "}" | 80 | [email protected] "}" |
81 | [email protected] " " | 81 | [email protected] ";" |
82 | [email protected] | 82 | [email protected] "\n" |
83 | [email protected] | 83 | [email protected] "}" |
84 | [email protected] "{" | ||
85 | [email protected] "}" | ||
86 | [email protected] ";" | ||
87 | [email protected] "\n" | ||
88 | [email protected] "}" | ||
89 | [email protected] "\n" | 84 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast index 52644da8f..e064aafaf 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast | |||
@@ -9,47 +9,45 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "loop" |
16 | [email protected] "loop" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "{" |
19 | [email protected] | 19 | [email protected] "\n " |
20 | [email protected] "{" | 20 | [email protected] |
21 | [email protected] "\n " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "break" |
23 | [email protected] | 23 | [email protected] ";" |
24 | [email protected] "break" | 24 | [email protected] "\n " |
25 | [email protected] ";" | 25 | [email protected] |
26 | [email protected] "\n " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "break" |
28 | [email protected] | 28 | [email protected] " " |
29 | [email protected] "break" | 29 | [email protected] "\'l" |
30 | [email protected] " " | 30 | [email protected] ";" |
31 | [email protected] "\'l" | 31 | [email protected] "\n " |
32 | [email protected] ";" | 32 | [email protected] |
33 | [email protected] "\n " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "break" |
35 | [email protected] | 35 | [email protected] " " |
36 | [email protected] "break" | 36 | [email protected] |
37 | [email protected] " " | 37 | [email protected] "92" |
38 | [email protected] | 38 | [email protected] ";" |
39 | [email protected] "92" | 39 | [email protected] "\n " |
40 | [email protected] ";" | 40 | [email protected] |
41 | [email protected] "\n " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "break" |
43 | [email protected] | 43 | [email protected] " " |
44 | [email protected] "break" | 44 | [email protected] "\'l" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | [email protected] "\'l" | 46 | [email protected] |
47 | [email protected] " " | 47 | [email protected] "92" |
48 | [email protected] | 48 | [email protected] ";" |
49 | [email protected] "92" | 49 | [email protected] "\n " |
50 | [email protected] ";" | 50 | [email protected] "}" |
51 | [email protected] "\n " | 51 | [email protected] "\n" |
52 | [email protected] "}" | 52 | [email protected] "}" |
53 | [email protected] "\n" | ||
54 | [email protected] "}" | ||
55 | [email protected] "\n" | 53 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast index f061c0cac..cf5825593 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast | |||
@@ -16,7 +16,6 @@ [email protected] | |||
16 | [email protected] ")" | 16 | [email protected] ")" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "{" |
20 | [email protected] "{" | 20 | [email protected] "}" |
21 | [email protected] "}" | ||
22 | [email protected] "\n" | 21 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast index e25fc8c3e..fbd90bc0f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast | |||
@@ -42,38 +42,37 @@ [email protected] | |||
42 | [email protected] ")" | 42 | [email protected] ")" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "{" |
46 | [email protected] "{" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "<" |
54 | [email protected] "<" | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "usize" |
59 | [email protected] "usize" | 59 | [email protected] " " |
60 | [email protected] " " | 60 | [email protected] "as" |
61 | [email protected] "as" | 61 | [email protected] " " |
62 | [email protected] " " | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] |
66 | [email protected] | 66 | [email protected] "Default" |
67 | [email protected] "Default" | 67 | [email protected] ">" |
68 | [email protected] ">" | 68 | [email protected] "::" |
69 | [email protected] "::" | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "default" |
72 | [email protected] "default" | 72 | [email protected] |
73 | [email protected] | 73 | [email protected] "(" |
74 | [email protected] "(" | 74 | [email protected] ")" |
75 | [email protected] ")" | 75 | [email protected] ";" |
76 | [email protected] ";" | 76 | [email protected] " " |
77 | [email protected] " " | 77 | [email protected] "}" |
78 | [email protected] "}" | ||
79 | [email protected] "\n" | 78 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast index a1238d610..a767f145d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast | |||
@@ -9,21 +9,20 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "xs" |
21 | [email protected] "xs" | 21 | [email protected] "[" |
22 | [email protected] "[" | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] ".." |
24 | [email protected] ".." | 24 | [email protected] "]" |
25 | [email protected] "]" | 25 | [email protected] ";" |
26 | [email protected] ";" | 26 | [email protected] " " |
27 | [email protected] " " | 27 | [email protected] "}" |
28 | [email protected] "}" | ||
29 | [email protected] "\n" | 28 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast index 69e5fe4bc..e92ea2bf2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast | |||
@@ -32,13 +32,12 @@ [email protected] | |||
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "{" |
36 | [email protected] "{" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "2" |
39 | [email protected] "2" | 39 | [email protected] " " |
40 | [email protected] " " | 40 | [email protected] "}" |
41 | [email protected] "}" | ||
42 | [email protected] "," | 41 | [email protected] "," |
43 | [email protected] " " | 42 | [email protected] " " |
44 | [email protected] | 43 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast b/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast index 1a98e2610..aa582516a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast | |||
@@ -12,10 +12,9 @@ [email protected] | |||
12 | [email protected] ")" | 12 | [email protected] ")" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "{" |
16 | [email protected] "{" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] "}" |
18 | [email protected] "}" | ||
19 | [email protected] "\n" | 18 | [email protected] "\n" |
20 | [email protected] | 19 | [email protected] |
21 | [email protected] "struct" | 20 | [email protected] "struct" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast index bbf6dc494..0c1c6e877 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast | |||
@@ -9,140 +9,139 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "f" |
28 | [email protected] "f" | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "(" |
30 | [email protected] "(" | 30 | [email protected] ")" |
31 | [email protected] ")" | 31 | [email protected] ";" |
32 | [email protected] ";" | 32 | [email protected] "\n " |
33 | [email protected] "\n " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "let" |
35 | [email protected] "let" | 35 | [email protected] " " |
36 | [email protected] " " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "_" |
38 | [email protected] "_" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] "=" |
40 | [email protected] "=" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "f" |
49 | [email protected] "f" | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] "(" |
51 | [email protected] "(" | 51 | [email protected] ")" |
52 | [email protected] ")" | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "(" |
54 | [email protected] "(" | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] "1" |
56 | [email protected] "1" | 56 | [email protected] ")" |
57 | [email protected] ")" | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "(" |
59 | [email protected] "(" | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] "1" |
61 | [email protected] "1" | 61 | [email protected] "," |
62 | [email protected] "," | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "2" |
65 | [email protected] "2" | 65 | [email protected] "," |
66 | [email protected] "," | 66 | [email protected] ")" |
67 | [email protected] ")" | 67 | [email protected] ";" |
68 | [email protected] ";" | 68 | [email protected] "\n " |
69 | [email protected] "\n " | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] "let" |
71 | [email protected] "let" | 71 | [email protected] " " |
72 | [email protected] " " | 72 | [email protected] |
73 | [email protected] | 73 | [email protected] "_" |
74 | [email protected] "_" | 74 | [email protected] " " |
75 | [email protected] " " | 75 | [email protected] "=" |
76 | [email protected] "=" | 76 | [email protected] " " |
77 | [email protected] " " | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] "f" |
83 | [email protected] "f" | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] "(" |
85 | [email protected] "(" | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "<" |
91 | [email protected] "<" | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] |
94 | [email protected] | 94 | [email protected] |
95 | [email protected] | 95 | [email protected] "Foo" |
96 | [email protected] "Foo" | 96 | [email protected] ">" |
97 | [email protected] ">" | 97 | [email protected] "::" |
98 | [email protected] "::" | 98 | [email protected] |
99 | [email protected] | 99 | [email protected] |
100 | [email protected] | 100 | [email protected] "func" |
101 | [email protected] "func" | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] "(" |
103 | [email protected] "(" | 103 | [email protected] ")" |
104 | [email protected] ")" | 104 | [email protected] ")" |
105 | [email protected] ")" | 105 | [email protected] ";" |
106 | [email protected] ";" | 106 | [email protected] "\n " |
107 | [email protected] "\n " | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] |
109 | [email protected] | 109 | [email protected] |
110 | [email protected] | 110 | [email protected] |
111 | [email protected] | 111 | [email protected] |
112 | [email protected] | 112 | [email protected] |
113 | [email protected] | 113 | [email protected] "f" |
114 | [email protected] "f" | 114 | [email protected] |
115 | [email protected] | 115 | [email protected] "(" |
116 | [email protected] "(" | 116 | [email protected] |
117 | [email protected] | 117 | [email protected] |
118 | [email protected] | 118 | [email protected] |
119 | [email protected] | 119 | [email protected] |
120 | [email protected] | 120 | [email protected] |
121 | [email protected] | 121 | [email protected] "<" |
122 | [email protected] "<" | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] |
124 | [email protected] | 124 | [email protected] |
125 | [email protected] | 125 | [email protected] |
126 | [email protected] | 126 | [email protected] "Foo" |
127 | [email protected] "Foo" | 127 | [email protected] " " |
128 | [email protected] " " | 128 | [email protected] "as" |
129 | [email protected] "as" | 129 | [email protected] " " |
130 | [email protected] " " | 130 | [email protected] |
131 | [email protected] | 131 | [email protected] |
132 | [email protected] | 132 | [email protected] |
133 | [email protected] | 133 | [email protected] |
134 | [email protected] | 134 | [email protected] "Trait" |
135 | [email protected] "Trait" | 135 | [email protected] ">" |
136 | [email protected] ">" | 136 | [email protected] "::" |
137 | [email protected] "::" | 137 | [email protected] |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] | 139 | [email protected] "func" |
140 | [email protected] "func" | 140 | [email protected] |
141 | [email protected] | 141 | [email protected] "(" |
142 | [email protected] "(" | 142 | [email protected] ")" |
143 | [email protected] ")" | 143 | [email protected] ")" |
144 | [email protected] ")" | 144 | [email protected] ";" |
145 | [email protected] ";" | 145 | [email protected] "\n" |
146 | [email protected] "\n" | 146 | [email protected] "}" |
147 | [email protected] "}" | ||
148 | [email protected] "\n" | 147 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast index a454dfc3a..c23b3b67c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast | |||
@@ -9,22 +9,20 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "fn" |
16 | [email protected] "fn" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "b" |
19 | [email protected] "b" | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "(" |
21 | [email protected] "(" | 21 | [email protected] ")" |
22 | [email protected] ")" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "{" |
25 | [email protected] | 25 | [email protected] "}" |
26 | [email protected] "{" | 26 | [email protected] " " |
27 | [email protected] "}" | 27 | [email protected] "}" |
28 | [email protected] " " | ||
29 | [email protected] "}" | ||
30 | [email protected] "\n" | 28 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast b/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast index 2a50f796c..9ca2165ba 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast | |||
@@ -41,7 +41,6 @@ [email protected] | |||
41 | [email protected] "(" | 41 | [email protected] "(" |
42 | [email protected] ")" | 42 | [email protected] ")" |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] "{" |
45 | [email protected] "{" | 45 | [email protected] "}" |
46 | [email protected] "}" | ||
47 | [email protected] "\n" | 46 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast index 7f87e05ec..b209f67f8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast | |||
@@ -35,9 +35,8 @@ [email protected] | |||
35 | [email protected] ">" | 35 | [email protected] ">" |
36 | [email protected] " " | 36 | [email protected] " " |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "{" |
39 | [email protected] "{" | 39 | [email protected] "}" |
40 | [email protected] "}" | ||
41 | [email protected] "\n" | 40 | [email protected] "\n" |
42 | [email protected] | 41 | [email protected] |
43 | [email protected] "fn" | 42 | [email protected] "fn" |
@@ -77,7 +76,6 @@ [email protected] | |||
77 | [email protected] ">" | 76 | [email protected] ">" |
78 | [email protected] " " | 77 | [email protected] " " |
79 | [email protected] | 78 | [email protected] |
80 | [email protected] | 79 | [email protected] "{" |
81 | [email protected] "{" | 80 | [email protected] "}" |
82 | [email protected] "}" | ||
83 | [email protected] "\n" | 81 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast index 5f846177e..70232a3b2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast | |||
@@ -9,88 +9,87 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "a" |
27 | [email protected] "a" | 27 | [email protected] ";" |
28 | [email protected] ";" | 28 | [email protected] "\n " |
29 | [email protected] "\n " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "let" |
31 | [email protected] "let" | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "_" |
34 | [email protected] "_" | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] "=" |
36 | [email protected] "=" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "a" |
43 | [email protected] "a" | 43 | [email protected] "::" |
44 | [email protected] "::" | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "b" |
47 | [email protected] "b" | 47 | [email protected] ";" |
48 | [email protected] ";" | 48 | [email protected] "\n " |
49 | [email protected] "\n " | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] "let" |
51 | [email protected] "let" | 51 | [email protected] " " |
52 | [email protected] " " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "_" |
54 | [email protected] "_" | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] "=" |
56 | [email protected] "=" | 56 | [email protected] " " |
57 | [email protected] " " | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] "::" |
61 | [email protected] "::" | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "a" |
63 | [email protected] "a" | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "::" |
65 | [email protected] "::" | 65 | [email protected] "<" |
66 | [email protected] "<" | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "b" |
72 | [email protected] "b" | 72 | [email protected] ">" |
73 | [email protected] ">" | 73 | [email protected] ";" |
74 | [email protected] ";" | 74 | [email protected] "\n " |
75 | [email protected] "\n " | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "let" |
77 | [email protected] "let" | 77 | [email protected] " " |
78 | [email protected] " " | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] "_" |
80 | [email protected] "_" | 80 | [email protected] " " |
81 | [email protected] " " | 81 | [email protected] "=" |
82 | [email protected] "=" | 82 | [email protected] " " |
83 | [email protected] " " | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] "format" |
88 | [email protected] "format" | 88 | [email protected] "!" |
89 | [email protected] "!" | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "(" |
91 | [email protected] "(" | 91 | [email protected] ")" |
92 | [email protected] ")" | 92 | [email protected] ";" |
93 | [email protected] ";" | 93 | [email protected] "\n" |
94 | [email protected] "\n" | 94 | [email protected] "}" |
95 | [email protected] "}" | ||
96 | [email protected] "\n" | 95 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast b/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast index d9310e82e..03c52525e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast | |||
@@ -9,69 +9,68 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "-" |
27 | [email protected] "-" | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "1" |
29 | [email protected] "1" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] "=>" |
31 | [email protected] "=>" | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "(" |
34 | [email protected] "(" | 34 | [email protected] ")" |
35 | [email protected] ")" | 35 | [email protected] "," |
36 | [email protected] "," | 36 | [email protected] "\n " |
37 | [email protected] "\n " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "92" |
41 | [email protected] "92" | 41 | [email protected] " " |
42 | [email protected] " " | 42 | [email protected] "=>" |
43 | [email protected] "=>" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "(" |
46 | [email protected] "(" | 46 | [email protected] ")" |
47 | [email protected] ")" | 47 | [email protected] "," |
48 | [email protected] "," | 48 | [email protected] "\n " |
49 | [email protected] "\n " | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "\'c\'" |
53 | [email protected] "\'c\'" | 53 | [email protected] " " |
54 | [email protected] " " | 54 | [email protected] "=>" |
55 | [email protected] "=>" | 55 | [email protected] " " |
56 | [email protected] " " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] "(" |
58 | [email protected] "(" | 58 | [email protected] ")" |
59 | [email protected] ")" | 59 | [email protected] "," |
60 | [email protected] "," | 60 | [email protected] "\n " |
61 | [email protected] "\n " | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "\"hello\"" |
65 | [email protected] "\"hello\"" | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] "=>" |
67 | [email protected] "=>" | 67 | [email protected] " " |
68 | [email protected] " " | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] "(" |
70 | [email protected] "(" | 70 | [email protected] ")" |
71 | [email protected] ")" | 71 | [email protected] "," |
72 | [email protected] "," | 72 | [email protected] "\n " |
73 | [email protected] "\n " | 73 | [email protected] "}" |
74 | [email protected] "}" | 74 | [email protected] "\n" |
75 | [email protected] "\n" | 75 | [email protected] "}" |
76 | [email protected] "}" | ||
77 | [email protected] "\n" | 76 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast b/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast index 2e727c1ef..24f89b83f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast | |||
@@ -105,7 +105,6 @@ [email protected] | |||
105 | [email protected] "\'a" | 105 | [email protected] "\'a" |
106 | [email protected] "\n" | 106 | [email protected] "\n" |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] "{" |
109 | [email protected] "{" | 109 | [email protected] "}" |
110 | [email protected] "}" | ||
111 | [email protected] "\n" | 110 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast index c1e58f9bf..bb43d1eaf 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast | |||
@@ -11,7 +11,6 @@ [email protected] | |||
11 | [email protected] ")" | 11 | [email protected] ")" |
12 | [email protected] " " | 12 | [email protected] " " |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] | 14 | [email protected] "{" |
15 | [email protected] "{" | 15 | [email protected] "}" |
16 | [email protected] "}" | ||
17 | [email protected] "\n" | 16 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast index 9bdf2379f..8bd94a868 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast | |||
@@ -9,75 +9,74 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "92" |
19 | [email protected] "92" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "{" |
22 | [email protected] "{" | 22 | [email protected] "\n " |
23 | [email protected] "\n " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "0" |
28 | [email protected] "0" | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] "..." |
30 | [email protected] "..." | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "100" |
34 | [email protected] "100" | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] "=>" |
36 | [email protected] "=>" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "(" |
39 | [email protected] "(" | 39 | [email protected] ")" |
40 | [email protected] ")" | 40 | [email protected] "," |
41 | [email protected] "," | 41 | [email protected] "\n " |
42 | [email protected] "\n " | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "101" |
47 | [email protected] "101" | 47 | [email protected] " " |
48 | [email protected] " " | 48 | [email protected] "..=" |
49 | [email protected] "..=" | 49 | [email protected] " " |
50 | [email protected] " " | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "200" |
53 | [email protected] "200" | 53 | [email protected] " " |
54 | [email protected] " " | 54 | [email protected] "=>" |
55 | [email protected] "=>" | 55 | [email protected] " " |
56 | [email protected] " " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] "(" |
58 | [email protected] "(" | 58 | [email protected] ")" |
59 | [email protected] ")" | 59 | [email protected] "," |
60 | [email protected] "," | 60 | [email protected] "\n " |
61 | [email protected] "\n " | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] "200" |
66 | [email protected] "200" | 66 | [email protected] " " |
67 | [email protected] " " | 67 | [email protected] ".." |
68 | [email protected] ".." | 68 | [email protected] " " |
69 | [email protected] " " | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "301" |
72 | [email protected] "301" | 72 | [email protected] "=>" |
73 | [email protected] "=>" | 73 | [email protected] " " |
74 | [email protected] " " | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] "(" |
76 | [email protected] "(" | 76 | [email protected] ")" |
77 | [email protected] ")" | 77 | [email protected] "," |
78 | [email protected] "," | 78 | [email protected] "\n " |
79 | [email protected] "\n " | 79 | [email protected] "}" |
80 | [email protected] "}" | 80 | [email protected] "\n" |
81 | [email protected] "\n" | 81 | [email protected] "}" |
82 | [email protected] "}" | ||
83 | [email protected] "\n" | 82 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast b/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast index e9ca92364..9210f155c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast | |||
@@ -9,52 +9,50 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "_" |
27 | [email protected] "_" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] "=>" |
29 | [email protected] "=>" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "(" |
32 | [email protected] "(" | 32 | [email protected] ")" |
33 | [email protected] ")" | 33 | [email protected] "," |
34 | [email protected] "," | 34 | [email protected] "\n " |
35 | [email protected] "\n " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "_" |
38 | [email protected] "_" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] "=>" |
40 | [email protected] "=>" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "{" |
43 | [email protected] | 43 | [email protected] "}" |
44 | [email protected] "{" | 44 | [email protected] "\n " |
45 | [email protected] "}" | 45 | [email protected] |
46 | [email protected] "\n " | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "_" |
48 | [email protected] | 48 | [email protected] " " |
49 | [email protected] "_" | 49 | [email protected] "=>" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] "=>" | 51 | [email protected] |
52 | [email protected] " " | 52 | [email protected] "(" |
53 | [email protected] | 53 | [email protected] ")" |
54 | [email protected] "(" | 54 | [email protected] "\n " |
55 | [email protected] ")" | 55 | [email protected] "}" |
56 | [email protected] "\n " | 56 | [email protected] "\n" |
57 | [email protected] "}" | 57 | [email protected] "}" |
58 | [email protected] "\n" | ||
59 | [email protected] "}" | ||
60 | [email protected] "\n" | 58 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast b/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast index 15d332938..850465d82 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast | |||
@@ -9,117 +9,116 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "S" |
20 | [email protected] "S" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "}" |
24 | [email protected] "}" | 24 | [email protected] ";" |
25 | [email protected] ";" | 25 | [email protected] "\n " |
26 | [email protected] "\n " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "S" |
32 | [email protected] "S" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "{" |
35 | [email protected] "{" | 35 | [email protected] " " |
36 | [email protected] " " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "x" |
42 | [email protected] "x" | 42 | [email protected] "," |
43 | [email protected] "," | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "y" |
47 | [email protected] "y" | 47 | [email protected] ":" |
48 | [email protected] ":" | 48 | [email protected] " " |
49 | [email protected] " " | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] "32" |
51 | [email protected] "32" | 51 | [email protected] "," |
52 | [email protected] "," | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] "}" |
54 | [email protected] "}" | 54 | [email protected] ";" |
55 | [email protected] ";" | 55 | [email protected] "\n " |
56 | [email protected] "\n " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "S" |
62 | [email protected] "S" | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "{" |
65 | [email protected] "{" | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "x" |
72 | [email protected] "x" | 72 | [email protected] "," |
73 | [email protected] "," | 73 | [email protected] " " |
74 | [email protected] " " | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "y" |
77 | [email protected] "y" | 77 | [email protected] ":" |
78 | [email protected] ":" | 78 | [email protected] " " |
79 | [email protected] " " | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] "32" |
81 | [email protected] "32" | 81 | [email protected] "," |
82 | [email protected] "," | 82 | [email protected] " " |
83 | [email protected] " " | 83 | [email protected] ".." |
84 | [email protected] ".." | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "Default" |
91 | [email protected] "Default" | 91 | [email protected] "::" |
92 | [email protected] "::" | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] |
94 | [email protected] | 94 | [email protected] "default" |
95 | [email protected] "default" | 95 | [email protected] |
96 | [email protected] | 96 | [email protected] "(" |
97 | [email protected] "(" | 97 | [email protected] ")" |
98 | [email protected] ")" | 98 | [email protected] " " |
99 | [email protected] " " | 99 | [email protected] "}" |
100 | [email protected] "}" | 100 | [email protected] ";" |
101 | [email protected] ";" | 101 | [email protected] "\n " |
102 | [email protected] "\n " | 102 | [email protected] |
103 | [email protected] | 103 | [email protected] |
104 | [email protected] | 104 | [email protected] |
105 | [email protected] | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] | 107 | [email protected] "TupleStruct" |
108 | [email protected] "TupleStruct" | 108 | [email protected] " " |
109 | [email protected] " " | 109 | [email protected] |
110 | [email protected] | 110 | [email protected] "{" |
111 | [email protected] "{" | 111 | [email protected] " " |
112 | [email protected] " " | 112 | [email protected] |
113 | [email protected] | 113 | [email protected] |
114 | [email protected] | 114 | [email protected] "0" |
115 | [email protected] "0" | 115 | [email protected] ":" |
116 | [email protected] ":" | 116 | [email protected] " " |
117 | [email protected] " " | 117 | [email protected] |
118 | [email protected] | 118 | [email protected] "1" |
119 | [email protected] "1" | 119 | [email protected] " " |
120 | [email protected] " " | 120 | [email protected] "}" |
121 | [email protected] "}" | 121 | [email protected] ";" |
122 | [email protected] ";" | 122 | [email protected] "\n" |
123 | [email protected] "\n" | 123 | [email protected] "}" |
124 | [email protected] "}" | ||
125 | [email protected] "\n" | 124 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast b/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast index 3cce106e4..02656df31 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast | |||
@@ -9,9 +9,8 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "}" |
14 | [email protected] "}" | ||
15 | [email protected] "\n" | 14 | [email protected] "\n" |
16 | [email protected] | 15 | [email protected] |
17 | [email protected] | 16 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast index 5e1b4cc68..445d8d309 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast | |||
@@ -9,124 +9,113 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "if" |
17 | [email protected] "if" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "true" |
21 | [email protected] "true" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] | 24 | [email protected] "}" |
25 | [email protected] "{" | 25 | [email protected] ";" |
26 | [email protected] "}" | 26 | [email protected] "\n " |
27 | [email protected] ";" | 27 | [email protected] |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "if" |
30 | [email protected] | 30 | [email protected] " " |
31 | [email protected] "if" | 31 | [email protected] |
32 | [email protected] " " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "true" |
34 | [email protected] | 34 | [email protected] " " |
35 | [email protected] "true" | 35 | [email protected] |
36 | [email protected] " " | 36 | [email protected] "{" |
37 | [email protected] | 37 | [email protected] "}" |
38 | [email protected] | 38 | [email protected] " " |
39 | [email protected] "{" | 39 | [email protected] "else" |
40 | [email protected] "}" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] |
42 | [email protected] "else" | 42 | [email protected] "{" |
43 | [email protected] " " | 43 | [email protected] "}" |
44 | [email protected] | 44 | [email protected] ";" |
45 | [email protected] | 45 | [email protected] "\n " |
46 | [email protected] "{" | 46 | [email protected] |
47 | [email protected] "}" | 47 | [email protected] |
48 | [email protected] ";" | 48 | [email protected] "if" |
49 | [email protected] "\n " | 49 | [email protected] " " |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "if" | 52 | [email protected] "true" |
53 | [email protected] " " | 53 | [email protected] " " |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] "{" |
56 | [email protected] "true" | 56 | [email protected] "}" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | [email protected] | 58 | [email protected] "else" |
59 | [email protected] | 59 | [email protected] " " |
60 | [email protected] "{" | 60 | [email protected] |
61 | [email protected] "}" | 61 | [email protected] "if" |
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] "else" | 63 | [email protected] |
64 | [email protected] " " | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] "false" |
66 | [email protected] "if" | 66 | [email protected] " " |
67 | [email protected] " " | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] "{" |
69 | [email protected] | 69 | [email protected] "}" |
70 | [email protected] "false" | 70 | [email protected] " " |
71 | [email protected] " " | 71 | [email protected] "else" |
72 | [email protected] | 72 | [email protected] " " |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] "{" | 74 | [email protected] "{" |
75 | [email protected] "}" | 75 | [email protected] "}" |
76 | [email protected] " " | 76 | [email protected] ";" |
77 | [email protected] "else" | 77 | [email protected] "\n " |
78 | [email protected] " " | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] "if" |
81 | [email protected] "{" | 81 | [email protected] " " |
82 | [email protected] "}" | 82 | [email protected] |
83 | [email protected] ";" | 83 | [email protected] |
84 | [email protected] "\n " | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] "if" | 87 | [email protected] "S" |
88 | [email protected] " " | 88 | [email protected] " " |
89 | [email protected] | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "{" |
91 | [email protected] | 91 | [email protected] "}" |
92 | [email protected] | 92 | [email protected] ";" |
93 | [email protected] | 93 | [email protected] "\n " |
94 | [email protected] "S" | 94 | [email protected] |
95 | [email protected] " " | 95 | [email protected] |
96 | [email protected] | 96 | [email protected] "if" |
97 | [email protected] | 97 | [email protected] " " |
98 | [email protected] "{" | 98 | [email protected] |
99 | [email protected] "}" | 99 | [email protected] |
100 | [email protected] ";" | 100 | [email protected] "{" |
101 | [email protected] "\n " | 101 | [email protected] " " |
102 | [email protected] | 102 | [email protected] |
103 | [email protected] | 103 | [email protected] "true" |
104 | [email protected] "if" | 104 | [email protected] " " |
105 | [email protected] " " | 105 | [email protected] "}" |
106 | [email protected] | 106 | [email protected] " " |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] "{" |
109 | [email protected] "{" | 109 | [email protected] " " |
110 | [email protected] " " | 110 | [email protected] "}" |
111 | [email protected] | 111 | [email protected] " " |
112 | [email protected] "true" | 112 | [email protected] "else" |
113 | [email protected] " " | 113 | [email protected] " " |
114 | [email protected] "}" | 114 | [email protected] |
115 | [email protected] " " | 115 | [email protected] "{" |
116 | [email protected] | 116 | [email protected] " " |
117 | [email protected] | 117 | [email protected] "}" |
118 | [email protected] "{" | 118 | [email protected] ";" |
119 | [email protected] " " | 119 | [email protected] "\n" |
120 | [email protected] "}" | 120 | [email protected] "}" |
121 | [email protected] " " | ||
122 | [email protected] "else" | ||
123 | [email protected] " " | ||
124 | [email protected] | ||
125 | [email protected] | ||
126 | [email protected] "{" | ||
127 | [email protected] " " | ||
128 | [email protected] "}" | ||
129 | [email protected] ";" | ||
130 | [email protected] "\n" | ||
131 | [email protected] "}" | ||
132 | [email protected] "\n" | 121 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast b/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast index 108e5c5cc..177bb5514 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast | |||
@@ -9,144 +9,143 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "match" |
17 | [email protected] "match" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "(" |
20 | [email protected] "(" | 20 | [email protected] ")" |
21 | [email protected] ")" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] "{" | 24 | [email protected] "\n " |
25 | [email protected] "\n " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "_" |
28 | [email protected] "_" | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] "=>" |
30 | [email protected] "=>" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "(" |
33 | [email protected] "(" | 33 | [email protected] ")" |
34 | [email protected] ")" | 34 | [email protected] "," |
35 | [email protected] "," | 35 | [email protected] "\n " |
36 | [email protected] "\n " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "_" |
39 | [email protected] "_" | 39 | [email protected] " " |
40 | [email protected] " " | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "if" |
42 | [email protected] "if" | 42 | [email protected] " " |
43 | [email protected] " " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "Test" |
49 | [email protected] "Test" | 49 | [email protected] " " |
50 | [email protected] " " | 50 | [email protected] ">" |
51 | [email protected] ">" | 51 | [email protected] " " |
52 | [email protected] " " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "Test" |
57 | [email protected] "Test" | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "{" |
59 | [email protected] "{" | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "field" |
62 | [email protected] "field" | 62 | [email protected] ":" |
63 | [email protected] ":" | 63 | [email protected] " " |
64 | [email protected] " " | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] "0" |
66 | [email protected] "0" | 66 | [email protected] "}" |
67 | [email protected] "}" | 67 | [email protected] " " |
68 | [email protected] " " | 68 | [email protected] "=>" |
69 | [email protected] "=>" | 69 | [email protected] " " |
70 | [email protected] " " | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "(" |
72 | [email protected] "(" | 72 | [email protected] ")" |
73 | [email protected] ")" | 73 | [email protected] "," |
74 | [email protected] "," | 74 | [email protected] "\n " |
75 | [email protected] "\n " | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] "X" |
80 | [email protected] "X" | 80 | [email protected] " " |
81 | [email protected] " " | 81 | [email protected] "|" |
82 | [email protected] "|" | 82 | [email protected] " " |
83 | [email protected] " " | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] "Y" |
86 | [email protected] "Y" | 86 | [email protected] " " |
87 | [email protected] " " | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] "if" |
89 | [email protected] "if" | 89 | [email protected] " " |
90 | [email protected] " " | 90 | [email protected] |
91 | [email protected] | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] |
94 | [email protected] | 94 | [email protected] "Z" |
95 | [email protected] "Z" | 95 | [email protected] " " |
96 | [email protected] " " | 96 | [email protected] "=>" |
97 | [email protected] "=>" | 97 | [email protected] " " |
98 | [email protected] " " | 98 | [email protected] |
99 | [email protected] | 99 | [email protected] "(" |
100 | [email protected] "(" | 100 | [email protected] ")" |
101 | [email protected] ")" | 101 | [email protected] "," |
102 | [email protected] "," | 102 | [email protected] "\n " |
103 | [email protected] "\n " | 103 | [email protected] |
104 | [email protected] | 104 | [email protected] "|" |
105 | [email protected] "|" | 105 | [email protected] " " |
106 | [email protected] " " | 106 | [email protected] |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] |
109 | [email protected] | 109 | [email protected] "X" |
110 | [email protected] "X" | 110 | [email protected] " " |
111 | [email protected] " " | 111 | [email protected] "|" |
112 | [email protected] "|" | 112 | [email protected] " " |
113 | [email protected] " " | 113 | [email protected] |
114 | [email protected] | 114 | [email protected] |
115 | [email protected] | 115 | [email protected] "Y" |
116 | [email protected] "Y" | 116 | [email protected] " " |
117 | [email protected] " " | 117 | [email protected] |
118 | [email protected] | 118 | [email protected] "if" |
119 | [email protected] "if" | 119 | [email protected] " " |
120 | [email protected] " " | 120 | [email protected] |
121 | [email protected] | 121 | [email protected] |
122 | [email protected] | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] |
124 | [email protected] | 124 | [email protected] "Z" |
125 | [email protected] "Z" | 125 | [email protected] " " |
126 | [email protected] " " | 126 | [email protected] "=>" |
127 | [email protected] "=>" | 127 | [email protected] " " |
128 | [email protected] " " | 128 | [email protected] |
129 | [email protected] | 129 | [email protected] "(" |
130 | [email protected] "(" | 130 | [email protected] ")" |
131 | [email protected] ")" | 131 | [email protected] "," |
132 | [email protected] "," | 132 | [email protected] "\n " |
133 | [email protected] "\n " | 133 | [email protected] |
134 | [email protected] | 134 | [email protected] "|" |
135 | [email protected] "|" | 135 | [email protected] " " |
136 | [email protected] " " | 136 | [email protected] |
137 | [email protected] | 137 | [email protected] |
138 | [email protected] | 138 | [email protected] "X" |
139 | [email protected] "X" | 139 | [email protected] " " |
140 | [email protected] " " | 140 | [email protected] "=>" |
141 | [email protected] "=>" | 141 | [email protected] " " |
142 | [email protected] " " | 142 | [email protected] |
143 | [email protected] | 143 | [email protected] "(" |
144 | [email protected] "(" | 144 | [email protected] ")" |
145 | [email protected] ")" | 145 | [email protected] "," |
146 | [email protected] "," | 146 | [email protected] "\n " |
147 | [email protected] "\n " | 147 | [email protected] "}" |
148 | [email protected] "}" | 148 | [email protected] ";" |
149 | [email protected] ";" | 149 | [email protected] "\n" |
150 | [email protected] "\n" | 150 | [email protected] "}" |
151 | [email protected] "}" | ||
152 | [email protected] "\n" | 151 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast index 1e888063e..f8ff7079b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast | |||
@@ -9,45 +9,42 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "{" |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "{" | 26 | [email protected] "1" |
27 | [email protected] | 27 | [email protected] "}" |
28 | [email protected] "1" | 28 | [email protected] " " |
29 | [email protected] "}" | 29 | [email protected] "&" |
30 | [email protected] " " | 30 | [email protected] " " |
31 | [email protected] "&" | 31 | [email protected] |
32 | [email protected] " " | 32 | [email protected] "2" |
33 | [email protected] | 33 | [email protected] ";" |
34 | [email protected] "2" | 34 | [email protected] "\n " |
35 | [email protected] ";" | 35 | [email protected] |
36 | [email protected] "\n " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "{" |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "1" |
40 | [email protected] "{" | 40 | [email protected] "}" |
41 | [email protected] | 41 | [email protected] " " |
42 | [email protected] "1" | 42 | [email protected] |
43 | [email protected] "}" | 43 | [email protected] |
44 | [email protected] " " | 44 | [email protected] "&" |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "2" |
47 | [email protected] "&" | 47 | [email protected] ";" |
48 | [email protected] | 48 | [email protected] "\n" |
49 | [email protected] "2" | 49 | [email protected] "}" |
50 | [email protected] ";" | ||
51 | [email protected] "\n" | ||
52 | [email protected] "}" | ||
53 | [email protected] "\n" | 50 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast index 218b3ec9e..07b3d1435 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast | |||
@@ -9,88 +9,85 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "match" |
17 | [email protected] "match" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "(" |
20 | [email protected] "(" | 20 | [email protected] ")" |
21 | [email protected] ")" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] "{" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] "}" |
26 | [email protected] "}" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "match" |
31 | [email protected] "match" | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "S" |
37 | [email protected] "S" | 37 | [email protected] " " |
38 | [email protected] " " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "{" |
40 | [email protected] "{" | 40 | [email protected] "}" |
41 | [email protected] "}" | 41 | [email protected] ";" |
42 | [email protected] ";" | 42 | [email protected] "\n " |
43 | [email protected] "\n " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "match" |
46 | [email protected] "match" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "{" |
49 | [email protected] | 49 | [email protected] " " |
50 | [email protected] "{" | 50 | [email protected] "}" |
51 | [email protected] " " | 51 | [email protected] " " |
52 | [email protected] "}" | 52 | [email protected] |
53 | [email protected] " " | 53 | [email protected] "{" |
54 | [email protected] | 54 | [email protected] " " |
55 | [email protected] "{" | 55 | [email protected] |
56 | [email protected] " " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] "_" |
58 | [email protected] | 58 | [email protected] " " |
59 | [email protected] "_" | 59 | [email protected] "=>" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] "=>" | 61 | [email protected] |
62 | [email protected] " " | 62 | [email protected] "(" |
63 | [email protected] | 63 | [email protected] ")" |
64 | [email protected] "(" | 64 | [email protected] " " |
65 | [email protected] ")" | 65 | [email protected] "}" |
66 | [email protected] " " | 66 | [email protected] ";" |
67 | [email protected] "}" | 67 | [email protected] "\n " |
68 | [email protected] ";" | 68 | [email protected] |
69 | [email protected] "\n " | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] "match" |
71 | [email protected] | 71 | [email protected] " " |
72 | [email protected] "match" | 72 | [email protected] |
73 | [email protected] " " | 73 | [email protected] "{" |
74 | [email protected] | 74 | [email protected] " " |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "{" | 76 | [email protected] |
77 | [email protected] " " | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] "S" |
80 | [email protected] | 80 | [email protected] " " |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] "S" | 82 | [email protected] "{" |
83 | [email protected] " " | 83 | [email protected] "}" |
84 | [email protected] | 84 | [email protected] " " |
85 | [email protected] "{" | 85 | [email protected] "}" |
86 | [email protected] "}" | 86 | [email protected] " " |
87 | [email protected] " " | 87 | [email protected] |
88 | [email protected] "}" | 88 | [email protected] "{" |
89 | [email protected] " " | 89 | [email protected] "}" |
90 | [email protected] | 90 | [email protected] ";" |
91 | [email protected] "{" | 91 | [email protected] "\n" |
92 | [email protected] "}" | 92 | [email protected] "}" |
93 | [email protected] ";" | ||
94 | [email protected] "\n" | ||
95 | [email protected] "}" | ||
96 | [email protected] "\n" | 93 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast index b8171dc9c..665f716a8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast | |||
@@ -9,21 +9,20 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "return" |
17 | [email protected] "return" | 17 | [email protected] ";" |
18 | [email protected] ";" | 18 | [email protected] "\n " |
19 | [email protected] "\n " | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "return" |
22 | [email protected] "return" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "92" |
25 | [email protected] "92" | 25 | [email protected] ";" |
26 | [email protected] ";" | 26 | [email protected] "\n" |
27 | [email protected] "\n" | 27 | [email protected] "}" |
28 | [email protected] "}" | ||
29 | [email protected] "\n" | 28 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast index c2a73ef25..3fd3a4391 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast | |||
@@ -9,55 +9,51 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "_" |
27 | [email protected] "_" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] "=>" |
29 | [email protected] "=>" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "{" |
32 | [email protected] | 32 | [email protected] "}" |
33 | [email protected] "{" | 33 | [email protected] "\n " |
34 | [email protected] "}" | 34 | [email protected] |
35 | [email protected] "\n " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "(" |
37 | [email protected] | 37 | [email protected] ")" |
38 | [email protected] "(" | 38 | [email protected] " " |
39 | [email protected] ")" | 39 | [email protected] "=>" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] "=>" | 41 | [email protected] |
42 | [email protected] " " | 42 | [email protected] "{" |
43 | [email protected] | 43 | [email protected] "}" |
44 | [email protected] | 44 | [email protected] "\n " |
45 | [email protected] "{" | 45 | [email protected] |
46 | [email protected] "}" | 46 | [email protected] |
47 | [email protected] "\n " | 47 | [email protected] "[" |
48 | [email protected] | 48 | [email protected] "]" |
49 | [email protected] | 49 | [email protected] " " |
50 | [email protected] "[" | 50 | [email protected] "=>" |
51 | [email protected] "]" | 51 | [email protected] " " |
52 | [email protected] " " | 52 | [email protected] |
53 | [email protected] "=>" | 53 | [email protected] "{" |
54 | [email protected] " " | 54 | [email protected] "}" |
55 | [email protected] | 55 | [email protected] "\n " |
56 | [email protected] | 56 | [email protected] "}" |
57 | [email protected] "{" | 57 | [email protected] "\n" |
58 | [email protected] "}" | 58 | [email protected] "}" |
59 | [email protected] "\n " | ||
60 | [email protected] "}" | ||
61 | [email protected] "\n" | ||
62 | [email protected] "}" | ||
63 | [email protected] "\n" | 59 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast index 39a86d002..97c6e6a9d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast | |||
@@ -9,9 +9,8 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "}" |
14 | [email protected] "}" | ||
15 | [email protected] "\n" | 14 | [email protected] "\n" |
16 | [email protected] | 15 | [email protected] |
17 | [email protected] "fn" | 16 | [email protected] "fn" |
@@ -23,22 +22,21 @@ [email protected] | |||
23 | [email protected] ")" | 22 | [email protected] ")" |
24 | [email protected] " " | 23 | [email protected] " " |
25 | [email protected] | 24 | [email protected] |
26 | [email protected] | 25 | [email protected] "{" |
27 | [email protected] "{" | 26 | [email protected] " " |
28 | [email protected] " " | 27 | [email protected] |
29 | [email protected] | 28 | [email protected] "let" |
30 | [email protected] "let" | 29 | [email protected] " " |
31 | [email protected] " " | 30 | [email protected] |
32 | [email protected] | 31 | [email protected] "_" |
33 | [email protected] "_" | 32 | [email protected] " " |
34 | [email protected] " " | 33 | [email protected] "=" |
35 | [email protected] "=" | 34 | [email protected] " " |
36 | [email protected] " " | 35 | [email protected] |
37 | [email protected] | 36 | [email protected] "1" |
38 | [email protected] "1" | 37 | [email protected] ";" |
39 | [email protected] ";" | 38 | [email protected] " " |
40 | [email protected] " " | 39 | [email protected] "}" |
41 | [email protected] "}" | ||
42 | [email protected] "\n" | 40 | [email protected] "\n" |
43 | [email protected] | 41 | [email protected] |
44 | [email protected] "fn" | 42 | [email protected] "fn" |
@@ -50,20 +48,19 @@ [email protected] | |||
50 | [email protected] ")" | 48 | [email protected] ")" |
51 | [email protected] " " | 49 | [email protected] " " |
52 | [email protected] | 50 | [email protected] |
53 | [email protected] | 51 | [email protected] "{" |
54 | [email protected] "{" | 52 | [email protected] " " |
55 | [email protected] " " | 53 | [email protected] |
56 | [email protected] | 54 | [email protected] |
57 | [email protected] | 55 | [email protected] "1" |
58 | [email protected] "1" | 56 | [email protected] ";" |
59 | [email protected] ";" | 57 | [email protected] " " |
60 | [email protected] " " | 58 | [email protected] |
61 | [email protected] | 59 | [email protected] |
62 | [email protected] | 60 | [email protected] "2" |
63 | [email protected] "2" | 61 | [email protected] ";" |
64 | [email protected] ";" | 62 | [email protected] " " |
65 | [email protected] " " | 63 | [email protected] "}" |
66 | [email protected] "}" | ||
67 | [email protected] "\n" | 64 | [email protected] "\n" |
68 | [email protected] | 65 | [email protected] |
69 | [email protected] "fn" | 66 | [email protected] "fn" |
@@ -75,16 +72,15 @@ [email protected] | |||
75 | [email protected] ")" | 72 | [email protected] ")" |
76 | [email protected] " " | 73 | [email protected] " " |
77 | [email protected] | 74 | [email protected] |
78 | [email protected] | 75 | [email protected] "{" |
79 | [email protected] "{" | 76 | [email protected] " " |
80 | [email protected] " " | 77 | [email protected] |
81 | [email protected] | 78 | [email protected] |
82 | [email protected] | 79 | [email protected] "1" |
83 | [email protected] "1" | 80 | [email protected] ";" |
84 | [email protected] ";" | 81 | [email protected] " " |
85 | [email protected] " " | 82 | [email protected] |
86 | [email protected] | 83 | [email protected] "2" |
87 | [email protected] "2" | 84 | [email protected] " " |
88 | [email protected] " " | 85 | [email protected] "}" |
89 | [email protected] "}" | ||
90 | [email protected] "\n" | 86 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast b/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast index 9621ba59e..e2c1a507d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast | |||
@@ -34,7 +34,6 @@ [email protected] | |||
34 | [email protected] "Copy" | 34 | [email protected] "Copy" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "{" |
38 | [email protected] "{" | 38 | [email protected] "}" |
39 | [email protected] "}" | ||
40 | [email protected] "\n" | 39 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast index ed9d62c5f..4f3a8ed24 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast | |||
@@ -9,18 +9,17 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "x" |
21 | [email protected] "x" | 21 | [email protected] "?" |
22 | [email protected] "?" | 22 | [email protected] ";" |
23 | [email protected] ";" | 23 | [email protected] "\n" |
24 | [email protected] "\n" | 24 | [email protected] "}" |
25 | [email protected] "}" | ||
26 | [email protected] "\n" | 25 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast index 5141ce70d..462d1a8bb 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast | |||
@@ -9,88 +9,87 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "x" |
20 | [email protected] "x" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] "=" |
22 | [email protected] "=" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "1" |
26 | [email protected] "1" | 26 | [email protected] ".." |
27 | [email protected] ".." | 27 | [email protected] ";" |
28 | [email protected] ";" | 28 | [email protected] "\n " |
29 | [email protected] "\n " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "match" |
32 | [email protected] "match" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "1" |
36 | [email protected] "1" | 36 | [email protected] ".." |
37 | [email protected] ".." | 37 | [email protected] " " |
38 | [email protected] " " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "{" |
40 | [email protected] "{" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] "_" |
44 | [email protected] "_" | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] "=>" |
46 | [email protected] "=>" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "(" |
49 | [email protected] "(" | 49 | [email protected] ")" |
50 | [email protected] ")" | 50 | [email protected] " " |
51 | [email protected] " " | 51 | [email protected] "}" |
52 | [email protected] "}" | 52 | [email protected] ";" |
53 | [email protected] ";" | 53 | [email protected] "\n " |
54 | [email protected] "\n " | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "match" |
57 | [email protected] "match" | 57 | [email protected] " " |
58 | [email protected] " " | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "a" |
65 | [email protected] "a" | 65 | [email protected] "." |
66 | [email protected] "." | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] "b" |
68 | [email protected] "b" | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] "(" |
70 | [email protected] "(" | 70 | [email protected] ")" |
71 | [email protected] ")" | 71 | [email protected] ".." |
72 | [email protected] ".." | 72 | [email protected] |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "S" |
77 | [email protected] "S" | 77 | [email protected] " " |
78 | [email protected] " " | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] "{" |
80 | [email protected] "{" | 80 | [email protected] " " |
81 | [email protected] " " | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "_" |
84 | [email protected] "_" | 84 | [email protected] " " |
85 | [email protected] " " | 85 | [email protected] "=>" |
86 | [email protected] "=>" | 86 | [email protected] " " |
87 | [email protected] " " | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] "(" |
89 | [email protected] "(" | 89 | [email protected] ")" |
90 | [email protected] ")" | 90 | [email protected] " " |
91 | [email protected] " " | 91 | [email protected] "}" |
92 | [email protected] "}" | 92 | [email protected] ";" |
93 | [email protected] ";" | 93 | [email protected] "\n" |
94 | [email protected] "\n" | 94 | [email protected] "}" |
95 | [email protected] "}" | ||
96 | [email protected] "\n" | 95 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast index cdbe64180..dfb8d57ad 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast | |||
@@ -89,9 +89,8 @@ [email protected] | |||
89 | [email protected] "Iterator" | 89 | [email protected] "Iterator" |
90 | [email protected] " " | 90 | [email protected] " " |
91 | [email protected] | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] "{" |
93 | [email protected] "{" | 93 | [email protected] "}" |
94 | [email protected] "}" | ||
95 | [email protected] "\n" | 94 | [email protected] "\n" |
96 | [email protected] | 95 | [email protected] |
97 | [email protected] "fn" | 96 | [email protected] "fn" |
@@ -155,9 +154,8 @@ [email protected] | |||
155 | [email protected] "Iterator" | 154 | [email protected] "Iterator" |
156 | [email protected] " " | 155 | [email protected] " " |
157 | [email protected] | 156 | [email protected] |
158 | [email protected] | 157 | [email protected] "{" |
159 | [email protected] "{" | 158 | [email protected] "}" |
160 | [email protected] "}" | ||
161 | [email protected] "\n" | 159 | [email protected] "\n" |
162 | [email protected] | 160 | [email protected] |
163 | [email protected] "fn" | 161 | [email protected] "fn" |
@@ -237,7 +235,6 @@ [email protected] | |||
237 | [email protected] "Iterator" | 235 | [email protected] "Iterator" |
238 | [email protected] " " | 236 | [email protected] " " |
239 | [email protected] | 237 | [email protected] |
240 | [email protected] | 238 | [email protected] "{" |
241 | [email protected] "{" | 239 | [email protected] "}" |
242 | [email protected] "}" | ||
243 | [email protected] "\n" | 240 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast index fbad33389..7fe96e17d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast | |||
@@ -9,47 +9,46 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "&" |
24 | [email protected] "&" | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "1" |
26 | [email protected] "1" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "let" |
30 | [email protected] "let" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "_" |
33 | [email protected] "_" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] "=" |
35 | [email protected] "=" | 35 | [email protected] " " |
36 | [email protected] " " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "&" |
38 | [email protected] "&" | 38 | [email protected] "mut" |
39 | [email protected] "mut" | 39 | [email protected] " " |
40 | [email protected] " " | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "&" |
42 | [email protected] "&" | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "f" |
48 | [email protected] "f" | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "(" |
50 | [email protected] "(" | 50 | [email protected] ")" |
51 | [email protected] ")" | 51 | [email protected] ";" |
52 | [email protected] ";" | 52 | [email protected] "\n" |
53 | [email protected] "\n" | 53 | [email protected] "}" |
54 | [email protected] "}" | ||
55 | [email protected] "\n" | 54 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast b/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast index b165789fd..9fcb7899e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast | |||
@@ -9,128 +9,127 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "true" |
24 | [email protected] "true" | 24 | [email protected] ";" |
25 | [email protected] ";" | 25 | [email protected] "\n " |
26 | [email protected] "\n " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "let" |
28 | [email protected] "let" | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "_" |
31 | [email protected] "_" | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] "=" |
33 | [email protected] "=" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "false" |
36 | [email protected] "false" | 36 | [email protected] ";" |
37 | [email protected] ";" | 37 | [email protected] "\n " |
38 | [email protected] "\n " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "let" |
40 | [email protected] "let" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "_" |
43 | [email protected] "_" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] "=" |
45 | [email protected] "=" | 45 | [email protected] " " |
46 | [email protected] " " | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "1" |
48 | [email protected] "1" | 48 | [email protected] ";" |
49 | [email protected] ";" | 49 | [email protected] "\n " |
50 | [email protected] "\n " | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "let" |
52 | [email protected] "let" | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "_" |
55 | [email protected] "_" | 55 | [email protected] " " |
56 | [email protected] " " | 56 | [email protected] "=" |
57 | [email protected] "=" | 57 | [email protected] " " |
58 | [email protected] " " | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "2.0" |
60 | [email protected] "2.0" | 60 | [email protected] ";" |
61 | [email protected] ";" | 61 | [email protected] "\n " |
62 | [email protected] "\n " | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] "let" |
64 | [email protected] "let" | 64 | [email protected] " " |
65 | [email protected] " " | 65 | [email protected] |
66 | [email protected] | 66 | [email protected] "_" |
67 | [email protected] "_" | 67 | [email protected] " " |
68 | [email protected] " " | 68 | [email protected] "=" |
69 | [email protected] "=" | 69 | [email protected] " " |
70 | [email protected] " " | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "b\'a\'" |
72 | [email protected] "b\'a\'" | 72 | [email protected] ";" |
73 | [email protected] ";" | 73 | [email protected] "\n " |
74 | [email protected] "\n " | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] "let" |
76 | [email protected] "let" | 76 | [email protected] " " |
77 | [email protected] " " | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] "_" |
79 | [email protected] "_" | 79 | [email protected] " " |
80 | [email protected] " " | 80 | [email protected] "=" |
81 | [email protected] "=" | 81 | [email protected] " " |
82 | [email protected] " " | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "\'b\'" |
84 | [email protected] "\'b\'" | 84 | [email protected] ";" |
85 | [email protected] ";" | 85 | [email protected] "\n " |
86 | [email protected] "\n " | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] "let" |
88 | [email protected] "let" | 88 | [email protected] " " |
89 | [email protected] " " | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "_" |
91 | [email protected] "_" | 91 | [email protected] " " |
92 | [email protected] " " | 92 | [email protected] "=" |
93 | [email protected] "=" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] |
95 | [email protected] | 95 | [email protected] "\"c\"" |
96 | [email protected] "\"c\"" | 96 | [email protected] ";" |
97 | [email protected] ";" | 97 | [email protected] "\n " |
98 | [email protected] "\n " | 98 | [email protected] |
99 | [email protected] | 99 | [email protected] "let" |
100 | [email protected] "let" | 100 | [email protected] " " |
101 | [email protected] " " | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] "_" |
103 | [email protected] "_" | 103 | [email protected] " " |
104 | [email protected] " " | 104 | [email protected] "=" |
105 | [email protected] "=" | 105 | [email protected] " " |
106 | [email protected] " " | 106 | [email protected] |
107 | [email protected] | 107 | [email protected] "r\"d\"" |
108 | [email protected] "r\"d\"" | 108 | [email protected] ";" |
109 | [email protected] ";" | 109 | [email protected] "\n " |
110 | [email protected] "\n " | 110 | [email protected] |
111 | [email protected] | 111 | [email protected] "let" |
112 | [email protected] "let" | 112 | [email protected] " " |
113 | [email protected] " " | 113 | [email protected] |
114 | [email protected] | 114 | [email protected] "_" |
115 | [email protected] "_" | 115 | [email protected] " " |
116 | [email protected] " " | 116 | [email protected] "=" |
117 | [email protected] "=" | 117 | [email protected] " " |
118 | [email protected] " " | 118 | [email protected] |
119 | [email protected] | 119 | [email protected] "b\"e\"" |
120 | [email protected] "b\"e\"" | 120 | [email protected] ";" |
121 | [email protected] ";" | 121 | [email protected] "\n " |
122 | [email protected] "\n " | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] "let" |
124 | [email protected] "let" | 124 | [email protected] " " |
125 | [email protected] " " | 125 | [email protected] |
126 | [email protected] | 126 | [email protected] "_" |
127 | [email protected] "_" | 127 | [email protected] " " |
128 | [email protected] " " | 128 | [email protected] "=" |
129 | [email protected] "=" | 129 | [email protected] " " |
130 | [email protected] " " | 130 | [email protected] |
131 | [email protected] | 131 | [email protected] "br\"f\"" |
132 | [email protected] "br\"f\"" | 132 | [email protected] ";" |
133 | [email protected] ";" | 133 | [email protected] "\n" |
134 | [email protected] "\n" | 134 | [email protected] "}" |
135 | [email protected] "}" | ||
136 | [email protected] "\n" | 135 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast index 36f17133d..a42abc189 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast | |||
@@ -9,9 +9,8 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "}" |
14 | [email protected] "}" | ||
15 | [email protected] "\n" | 14 | [email protected] "\n" |
16 | [email protected] | 15 | [email protected] |
17 | [email protected] "fn" | 16 | [email protected] "fn" |
@@ -30,7 +29,6 @@ [email protected] | |||
30 | [email protected] ")" | 29 | [email protected] ")" |
31 | [email protected] " " | 30 | [email protected] " " |
32 | [email protected] | 31 | [email protected] |
33 | [email protected] | 32 | [email protected] "{" |
34 | [email protected] "{" | 33 | [email protected] "}" |
35 | [email protected] "}" | ||
36 | [email protected] "\n" | 34 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast index ca5aa007e..7e71d7373 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast | |||
@@ -8,62 +8,58 @@ [email protected] | |||
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] | 11 | [email protected] "{" |
12 | [email protected] "{" | 12 | [email protected] "\n " |
13 | [email protected] "\n " | 13 | [email protected] |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "if" |
16 | [email protected] "if" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "break" |
20 | [email protected] "break" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] | 23 | [email protected] "}" |
24 | [email protected] "{" | 24 | [email protected] "\n " |
25 | [email protected] "}" | 25 | [email protected] |
26 | [email protected] "\n " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "while" |
28 | [email protected] | 28 | [email protected] " " |
29 | [email protected] "while" | 29 | [email protected] |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "break" |
32 | [email protected] | 32 | [email protected] " " |
33 | [email protected] "break" | 33 | [email protected] |
34 | [email protected] " " | 34 | [email protected] "{" |
35 | [email protected] | 35 | [email protected] "}" |
36 | [email protected] | 36 | [email protected] "\n " |
37 | [email protected] "{" | 37 | [email protected] |
38 | [email protected] "}" | 38 | [email protected] |
39 | [email protected] "\n " | 39 | [email protected] "for" |
40 | [email protected] | 40 | [email protected] " " |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "for" | 42 | [email protected] |
43 | [email protected] " " | 43 | [email protected] "i" |
44 | [email protected] | 44 | [email protected] " " |
45 | [email protected] | 45 | [email protected] "in" |
46 | [email protected] "i" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] "in" | 48 | [email protected] "break" |
49 | [email protected] " " | 49 | [email protected] " " |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "break" | 51 | [email protected] "{" |
52 | [email protected] " " | 52 | [email protected] "}" |
53 | [email protected] | 53 | [email protected] "\n " |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] "{" | 55 | [email protected] "match" |
56 | [email protected] "}" | 56 | [email protected] " " |
57 | [email protected] "\n " | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "break" |
59 | [email protected] "match" | 59 | [email protected] " " |
60 | [email protected] " " | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "{" |
62 | [email protected] "break" | 62 | [email protected] "}" |
63 | [email protected] " " | 63 | [email protected] "\n" |
64 | [email protected] | 64 | [email protected] "}" |
65 | [email protected] "{" | ||
66 | [email protected] "}" | ||
67 | [email protected] "\n" | ||
68 | [email protected] "}" | ||
69 | [email protected] "\n" | 65 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast index 1c1e349e1..48aaf1004 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast | |||
@@ -12,7 +12,6 @@ [email protected] | |||
12 | [email protected] ")" | 12 | [email protected] ")" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "{" |
16 | [email protected] "{" | 16 | [email protected] "}" |
17 | [email protected] "}" | ||
18 | [email protected] "\n" | 17 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast index c264dae5e..aed81f9b0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast | |||
@@ -9,26 +9,25 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "x" |
22 | [email protected] "x" | 22 | [email protected] "[" |
23 | [email protected] "[" | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "1" |
25 | [email protected] "1" | 25 | [email protected] "]" |
26 | [email protected] "]" | 26 | [email protected] "[" |
27 | [email protected] "[" | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "2" |
29 | [email protected] "2" | 29 | [email protected] "]" |
30 | [email protected] "]" | 30 | [email protected] ";" |
31 | [email protected] ";" | 31 | [email protected] "\n" |
32 | [email protected] "\n" | 32 | [email protected] "}" |
33 | [email protected] "}" | ||
34 | [email protected] "\n" | 33 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast index 24e1ba8a0..67d9595d3 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast | |||
@@ -9,21 +9,20 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "(" |
24 | [email protected] "(" | 24 | [email protected] ")" |
25 | [email protected] ")" | 25 | [email protected] ";" |
26 | [email protected] ";" | 26 | [email protected] " " |
27 | [email protected] " " | 27 | [email protected] "}" |
28 | [email protected] "}" | ||
29 | [email protected] "\n" | 28 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast index 47462d44e..031e74652 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast | |||
@@ -9,122 +9,115 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "if" |
17 | [email protected] "if" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "true" |
21 | [email protected] "true" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] | 24 | [email protected] "}" |
25 | [email protected] "{" | 25 | [email protected] "\n " |
26 | [email protected] "}" | 26 | [email protected] |
27 | [email protected] "\n " | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "loop" |
29 | [email protected] | 29 | [email protected] " " |
30 | [email protected] "loop" | 30 | [email protected] |
31 | [email protected] " " | 31 | [email protected] "{" |
32 | [email protected] | 32 | [email protected] "}" |
33 | [email protected] | 33 | [email protected] "\n " |
34 | [email protected] "{" | 34 | [email protected] |
35 | [email protected] "}" | 35 | [email protected] |
36 | [email protected] "\n " | 36 | [email protected] "match" |
37 | [email protected] | 37 | [email protected] " " |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "match" | 39 | [email protected] "(" |
40 | [email protected] " " | 40 | [email protected] ")" |
41 | [email protected] | 41 | [email protected] " " |
42 | [email protected] "(" | 42 | [email protected] |
43 | [email protected] ")" | 43 | [email protected] "{" |
44 | [email protected] " " | 44 | [email protected] "}" |
45 | [email protected] | 45 | [email protected] "\n " |
46 | [email protected] "{" | 46 | [email protected] |
47 | [email protected] "}" | 47 | [email protected] |
48 | [email protected] "\n " | 48 | [email protected] "while" |
49 | [email protected] | 49 | [email protected] " " |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "while" | 51 | [email protected] |
52 | [email protected] " " | 52 | [email protected] "true" |
53 | [email protected] | 53 | [email protected] " " |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] "true" | 55 | [email protected] "{" |
56 | [email protected] " " | 56 | [email protected] "}" |
57 | [email protected] | 57 | [email protected] "\n " |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] "{" | 59 | [email protected] |
60 | [email protected] "}" | 60 | [email protected] "for" |
61 | [email protected] "\n " | 61 | [email protected] " " |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] "_" |
64 | [email protected] "for" | 64 | [email protected] " " |
65 | [email protected] " " | 65 | [email protected] "in" |
66 | [email protected] | 66 | [email protected] " " |
67 | [email protected] "_" | 67 | [email protected] |
68 | [email protected] " " | 68 | [email protected] "(" |
69 | [email protected] "in" | 69 | [email protected] ")" |
70 | [email protected] " " | 70 | [email protected] " " |
71 | [email protected] | 71 | [email protected] |
72 | [email protected] "(" | 72 | [email protected] "{" |
73 | [email protected] ")" | 73 | [email protected] "}" |
74 | [email protected] " " | 74 | [email protected] "\n " |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] "{" | 77 | [email protected] "{" |
78 | [email protected] "}" | 78 | [email protected] "}" |
79 | [email protected] "\n " | 79 | [email protected] "\n " |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] "{" |
83 | [email protected] "{" | 83 | [email protected] "}" |
84 | [email protected] "}" | 84 | [email protected] "\n " |
85 | [email protected] "\n " | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] "{" | 89 | [email protected] |
90 | [email protected] "}" | 90 | [email protected] "macro_rules" |
91 | [email protected] "\n " | 91 | [email protected] "!" |
92 | [email protected] | 92 | [email protected] " " |
93 | [email protected] | 93 | [email protected] |
94 | [email protected] | 94 | [email protected] "test" |
95 | [email protected] | 95 | [email protected] " " |
96 | [email protected] | 96 | [email protected] |
97 | [email protected] "macro_rules" | 97 | [email protected] "{" |
98 | [email protected] "!" | 98 | [email protected] "\n " |
99 | [email protected] " " | 99 | [email protected] |
100 | [email protected] | 100 | [email protected] "(" |
101 | [email protected] "test" | 101 | [email protected] ")" |
102 | [email protected] " " | 102 | [email protected] " " |
103 | [email protected] | 103 | [email protected] "=" |
104 | [email protected] "{" | 104 | [email protected] ">" |
105 | [email protected] "\n " | 105 | [email protected] " " |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] "(" | 107 | [email protected] "{" |
108 | [email protected] ")" | 108 | [email protected] "}" |
109 | [email protected] " " | 109 | [email protected] "\n " |
110 | [email protected] "=" | 110 | [email protected] "}" |
111 | [email protected] ">" | 111 | [email protected] "\n " |
112 | [email protected] " " | 112 | [email protected] |
113 | [email protected] | 113 | [email protected] |
114 | [email protected] "{" | 114 | [email protected] |
115 | [email protected] "}" | 115 | [email protected] |
116 | [email protected] "\n " | 116 | [email protected] "test" |
117 | [email protected] "}" | 117 | [email protected] "!" |
118 | [email protected] "\n " | 118 | [email protected] |
119 | [email protected] | 119 | [email protected] "{" |
120 | [email protected] | 120 | [email protected] "}" |
121 | [email protected] | 121 | [email protected] "\n" |
122 | [email protected] | 122 | [email protected] "}" |
123 | [email protected] "test" | ||
124 | [email protected] "!" | ||
125 | [email protected] | ||
126 | [email protected] "{" | ||
127 | [email protected] "}" | ||
128 | [email protected] "\n" | ||
129 | [email protected] "}" | ||
130 | [email protected] "\n" | 123 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast index a51fb5511..816e49310 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast | |||
@@ -13,7 +13,6 @@ [email protected] | |||
13 | [email protected] ")" | 13 | [email protected] ")" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "{" |
17 | [email protected] "{" | 17 | [email protected] "}" |
18 | [email protected] "}" | ||
19 | [email protected] "\n" | 18 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast index 61b47bf35..d48ef865c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast | |||
@@ -9,9 +9,8 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "}" |
14 | [email protected] "}" | ||
15 | [email protected] "\n" | 14 | [email protected] "\n" |
16 | [email protected] | 15 | [email protected] |
17 | [email protected] "fn" | 16 | [email protected] "fn" |
@@ -34,9 +33,8 @@ [email protected] | |||
34 | [email protected] ")" | 33 | [email protected] ")" |
35 | [email protected] " " | 34 | [email protected] " " |
36 | [email protected] | 35 | [email protected] |
37 | [email protected] | 36 | [email protected] "{" |
38 | [email protected] "{" | 37 | [email protected] "}" |
39 | [email protected] "}" | ||
40 | [email protected] "\n" | 38 | [email protected] "\n" |
41 | [email protected] | 39 | [email protected] |
42 | [email protected] "fn" | 40 | [email protected] "fn" |
@@ -61,9 +59,8 @@ [email protected] | |||
61 | [email protected] ")" | 59 | [email protected] ")" |
62 | [email protected] " " | 60 | [email protected] " " |
63 | [email protected] | 61 | [email protected] |
64 | [email protected] | 62 | [email protected] "{" |
65 | [email protected] "{" | 63 | [email protected] "}" |
66 | [email protected] "}" | ||
67 | [email protected] "\n" | 64 | [email protected] "\n" |
68 | [email protected] | 65 | [email protected] |
69 | [email protected] "fn" | 66 | [email protected] "fn" |
@@ -97,7 +94,6 @@ [email protected] | |||
97 | [email protected] ")" | 94 | [email protected] ")" |
98 | [email protected] " " | 95 | [email protected] " " |
99 | [email protected] | 96 | [email protected] |
100 | [email protected] | 97 | [email protected] "{" |
101 | [email protected] "{" | 98 | [email protected] "}" |
102 | [email protected] "}" | ||
103 | [email protected] "\n" | 99 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast index 89d435d1f..e4455cd3e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast | |||
@@ -9,28 +9,26 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "for" |
17 | [email protected] "for" | 17 | [email protected] " " |
18 | [email protected] " " | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "x" |
21 | [email protected] "x" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] "in" |
23 | [email protected] "in" | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "[" |
26 | [email protected] "[" | 26 | [email protected] "]" |
27 | [email protected] "]" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "{" |
30 | [email protected] | 30 | [email protected] "}" |
31 | [email protected] "{" | 31 | [email protected] ";" |
32 | [email protected] "}" | 32 | [email protected] "\n" |
33 | [email protected] ";" | 33 | [email protected] "}" |
34 | [email protected] "\n" | ||
35 | [email protected] "}" | ||
36 | [email protected] "\n" | 34 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast index 57b4d0c4f..8a8743060 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast | |||
@@ -11,7 +11,6 @@ [email protected] | |||
11 | [email protected] ")" | 11 | [email protected] ")" |
12 | [email protected] " " | 12 | [email protected] " " |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] | 14 | [email protected] "{" |
15 | [email protected] "{" | 15 | [email protected] "}" |
16 | [email protected] "}" | ||
17 | [email protected] "\n" | 16 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast index ed6f6f326..9f966ff8a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast | |||
@@ -9,125 +9,124 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "S" |
22 | [email protected] "S" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "{" |
25 | [email protected] "{" | 25 | [email protected] "}" |
26 | [email protected] "}" | 26 | [email protected] " " |
27 | [email protected] " " | 27 | [email protected] "=" |
28 | [email protected] "=" | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "(" |
31 | [email protected] "(" | 31 | [email protected] ")" |
32 | [email protected] ")" | 32 | [email protected] ";" |
33 | [email protected] ";" | 33 | [email protected] "\n " |
34 | [email protected] "\n " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "let" |
36 | [email protected] "let" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "S" |
42 | [email protected] "S" | 42 | [email protected] " " |
43 | [email protected] " " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] "{" |
45 | [email protected] "{" | 45 | [email protected] " " |
46 | [email protected] " " | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "f" |
50 | [email protected] "f" | 50 | [email protected] "," |
51 | [email protected] "," | 51 | [email protected] " " |
52 | [email protected] " " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "ref" |
55 | [email protected] "ref" | 55 | [email protected] " " |
56 | [email protected] " " | 56 | [email protected] "mut" |
57 | [email protected] "mut" | 57 | [email protected] " " |
58 | [email protected] " " | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "g" |
60 | [email protected] "g" | 60 | [email protected] " " |
61 | [email protected] " " | 61 | [email protected] "}" |
62 | [email protected] "}" | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] "=" |
64 | [email protected] "=" | 64 | [email protected] " " |
65 | [email protected] " " | 65 | [email protected] |
66 | [email protected] | 66 | [email protected] "(" |
67 | [email protected] "(" | 67 | [email protected] ")" |
68 | [email protected] ")" | 68 | [email protected] ";" |
69 | [email protected] ";" | 69 | [email protected] "\n " |
70 | [email protected] "\n " | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "let" |
72 | [email protected] "let" | 72 | [email protected] " " |
73 | [email protected] " " | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] "S" |
78 | [email protected] "S" | 78 | [email protected] " " |
79 | [email protected] " " | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] "{" |
81 | [email protected] "{" | 81 | [email protected] " " |
82 | [email protected] " " | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] "h" |
85 | [email protected] "h" | 85 | [email protected] ":" |
86 | [email protected] ":" | 86 | [email protected] " " |
87 | [email protected] " " | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] "_" |
89 | [email protected] "_" | 89 | [email protected] "," |
90 | [email protected] "," | 90 | [email protected] " " |
91 | [email protected] " " | 91 | [email protected] ".." |
92 | [email protected] ".." | 92 | [email protected] "}" |
93 | [email protected] "}" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] "=" |
95 | [email protected] "=" | 95 | [email protected] " " |
96 | [email protected] " " | 96 | [email protected] |
97 | [email protected] | 97 | [email protected] "(" |
98 | [email protected] "(" | 98 | [email protected] ")" |
99 | [email protected] ")" | 99 | [email protected] ";" |
100 | [email protected] ";" | 100 | [email protected] "\n " |
101 | [email protected] "\n " | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] "let" |
103 | [email protected] "let" | 103 | [email protected] " " |
104 | [email protected] " " | 104 | [email protected] |
105 | [email protected] | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] "S" |
109 | [email protected] "S" | 109 | [email protected] " " |
110 | [email protected] " " | 110 | [email protected] |
111 | [email protected] | 111 | [email protected] "{" |
112 | [email protected] "{" | 112 | [email protected] " " |
113 | [email protected] " " | 113 | [email protected] |
114 | [email protected] | 114 | [email protected] |
115 | [email protected] | 115 | [email protected] "h" |
116 | [email protected] "h" | 116 | [email protected] ":" |
117 | [email protected] ":" | 117 | [email protected] " " |
118 | [email protected] " " | 118 | [email protected] |
119 | [email protected] | 119 | [email protected] "_" |
120 | [email protected] "_" | 120 | [email protected] "," |
121 | [email protected] "," | 121 | [email protected] " " |
122 | [email protected] " " | 122 | [email protected] "}" |
123 | [email protected] "}" | 123 | [email protected] " " |
124 | [email protected] " " | 124 | [email protected] "=" |
125 | [email protected] "=" | 125 | [email protected] " " |
126 | [email protected] " " | 126 | [email protected] |
127 | [email protected] | 127 | [email protected] "(" |
128 | [email protected] "(" | 128 | [email protected] ")" |
129 | [email protected] ")" | 129 | [email protected] ";" |
130 | [email protected] ";" | 130 | [email protected] "\n" |
131 | [email protected] "\n" | 131 | [email protected] "}" |
132 | [email protected] "}" | ||
133 | [email protected] "\n" | 132 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast index 461c61914..9b3bef04e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast | |||
@@ -9,47 +9,46 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "[" |
17 | [email protected] "[" | 17 | [email protected] "]" |
18 | [email protected] "]" | 18 | [email protected] ";" |
19 | [email protected] ";" | 19 | [email protected] "\n " |
20 | [email protected] "\n " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "[" |
23 | [email protected] "[" | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "1" |
25 | [email protected] "1" | 25 | [email protected] "]" |
26 | [email protected] "]" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "[" |
31 | [email protected] "[" | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "1" |
33 | [email protected] "1" | 33 | [email protected] "," |
34 | [email protected] "," | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "2" |
37 | [email protected] "2" | 37 | [email protected] "," |
38 | [email protected] "," | 38 | [email protected] "]" |
39 | [email protected] "]" | 39 | [email protected] ";" |
40 | [email protected] ";" | 40 | [email protected] "\n " |
41 | [email protected] "\n " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] "[" |
44 | [email protected] "[" | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "1" |
46 | [email protected] "1" | 46 | [email protected] ";" |
47 | [email protected] ";" | 47 | [email protected] " " |
48 | [email protected] " " | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "2" |
50 | [email protected] "2" | 50 | [email protected] "]" |
51 | [email protected] "]" | 51 | [email protected] ";" |
52 | [email protected] ";" | 52 | [email protected] "\n" |
53 | [email protected] "\n" | 53 | [email protected] "}" |
54 | [email protected] "}" | ||
55 | [email protected] "\n" | 54 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0105_block_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0105_block_expr.rast deleted file mode 100644 index 8b2323cf2..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0105_block_expr.rast +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] "fn" | ||
4 | [email protected] " " | ||
5 | [email protected] | ||
6 | [email protected] "foo" | ||
7 | [email protected] | ||
8 | [email protected] "(" | ||
9 | [email protected] ")" | ||
10 | [email protected] " " | ||
11 | [email protected] | ||
12 | [email protected] | ||
13 | [email protected] "{" | ||
14 | [email protected] "\n " | ||
15 | [email protected] | ||
16 | [email protected] | ||
17 | [email protected] | ||
18 | [email protected] "{" | ||
19 | [email protected] "}" | ||
20 | [email protected] ";" | ||
21 | [email protected] "\n " | ||
22 | [email protected] | ||
23 | [email protected] | ||
24 | [email protected] "unsafe" | ||
25 | [email protected] " " | ||
26 | [email protected] | ||
27 | [email protected] "{" | ||
28 | [email protected] "}" | ||
29 | [email protected] ";" | ||
30 | [email protected] "\n " | ||
31 | [email protected] | ||
32 | [email protected] | ||
33 | [email protected] | ||
34 | [email protected] "\'label" | ||
35 | [email protected] ":" | ||
36 | [email protected] " " | ||
37 | [email protected] | ||
38 | [email protected] "{" | ||
39 | [email protected] "}" | ||
40 | [email protected] ";" | ||
41 | [email protected] "\n" | ||
42 | [email protected] "}" | ||
43 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0105_block_expr.rs b/crates/ra_syntax/test_data/parser/inline/ok/0105_block_expr.rs deleted file mode 100644 index 2fed74c5e..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0105_block_expr.rs +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | fn foo() { | ||
2 | {}; | ||
3 | unsafe {}; | ||
4 | 'label: {}; | ||
5 | } | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast index 73c314e07..e64717152 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast | |||
@@ -9,132 +9,127 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] "|" |
18 | [email protected] "|" | 18 | [email protected] "|" |
19 | [email protected] "|" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "(" |
22 | [email protected] "(" | 22 | [email protected] ")" |
23 | [email protected] ")" | 23 | [email protected] ";" |
24 | [email protected] ";" | 24 | [email protected] "\n " |
25 | [email protected] "\n " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "|" |
29 | [email protected] "|" | 29 | [email protected] "|" |
30 | [email protected] "|" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "->" |
33 | [email protected] "->" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "i32" |
39 | [email protected] "i32" | 39 | [email protected] " " |
40 | [email protected] " " | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "{" |
42 | [email protected] | 42 | [email protected] " " |
43 | [email protected] "{" | 43 | [email protected] |
44 | [email protected] " " | 44 | [email protected] "92" |
45 | [email protected] | 45 | [email protected] " " |
46 | [email protected] "92" | 46 | [email protected] "}" |
47 | [email protected] " " | 47 | [email protected] ";" |
48 | [email protected] "}" | 48 | [email protected] "\n " |
49 | [email protected] ";" | 49 | [email protected] |
50 | [email protected] "\n " | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "|" |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "|" | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "x" |
57 | [email protected] | 57 | [email protected] "|" |
58 | [email protected] "x" | 58 | [email protected] " " |
59 | [email protected] "|" | 59 | [email protected] |
60 | [email protected] " " | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] "x" |
64 | [email protected] | 64 | [email protected] ";" |
65 | [email protected] "x" | 65 | [email protected] "\n " |
66 | [email protected] ";" | 66 | [email protected] |
67 | [email protected] "\n " | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] "move" |
69 | [email protected] | 69 | [email protected] " " |
70 | [email protected] "move" | 70 | [email protected] |
71 | [email protected] " " | 71 | [email protected] "|" |
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "|" | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] "x" |
76 | [email protected] | 76 | [email protected] ":" |
77 | [email protected] "x" | 77 | [email protected] " " |
78 | [email protected] ":" | 78 | [email protected] |
79 | [email protected] " " | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] "i32" |
83 | [email protected] | 83 | [email protected] "," |
84 | [email protected] "i32" | 84 | [email protected] "|" |
85 | [email protected] "," | 85 | [email protected] " " |
86 | [email protected] "|" | 86 | [email protected] |
87 | [email protected] " " | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "x" |
91 | [email protected] | 91 | [email protected] ";" |
92 | [email protected] "x" | 92 | [email protected] "\n " |
93 | [email protected] ";" | 93 | [email protected] |
94 | [email protected] "\n " | 94 | [email protected] |
95 | [email protected] | 95 | [email protected] "async" |
96 | [email protected] | 96 | [email protected] " " |
97 | [email protected] "async" | 97 | [email protected] |
98 | [email protected] " " | 98 | [email protected] "|" |
99 | [email protected] | 99 | [email protected] "|" |
100 | [email protected] "|" | 100 | [email protected] " " |
101 | [email protected] "|" | 101 | [email protected] |
102 | [email protected] " " | 102 | [email protected] "{" |
103 | [email protected] | 103 | [email protected] "}" |
104 | [email protected] | 104 | [email protected] ";" |
105 | [email protected] "{" | 105 | [email protected] "\n " |
106 | [email protected] "}" | 106 | [email protected] |
107 | [email protected] ";" | 107 | [email protected] |
108 | [email protected] "\n " | 108 | [email protected] "move" |
109 | [email protected] | 109 | [email protected] " " |
110 | [email protected] | 110 | [email protected] |
111 | [email protected] "move" | 111 | [email protected] "|" |
112 | [email protected] " " | 112 | [email protected] "|" |
113 | [email protected] | 113 | [email protected] " " |
114 | [email protected] "|" | 114 | [email protected] |
115 | [email protected] "|" | 115 | [email protected] "{" |
116 | [email protected] " " | 116 | [email protected] "}" |
117 | [email protected] | 117 | [email protected] ";" |
118 | [email protected] | 118 | [email protected] "\n " |
119 | [email protected] "{" | 119 | [email protected] |
120 | [email protected] "}" | 120 | [email protected] |
121 | [email protected] ";" | 121 | [email protected] "async" |
122 | [email protected] "\n " | 122 | [email protected] " " |
123 | [email protected] | 123 | [email protected] "move" |
124 | [email protected] | 124 | [email protected] " " |
125 | [email protected] "async" | 125 | [email protected] |
126 | [email protected] " " | 126 | [email protected] "|" |
127 | [email protected] "move" | 127 | [email protected] "|" |
128 | [email protected] " " | 128 | [email protected] " " |
129 | [email protected] | 129 | [email protected] |
130 | [email protected] "|" | 130 | [email protected] "{" |
131 | [email protected] "|" | 131 | [email protected] "}" |
132 | [email protected] " " | 132 | [email protected] ";" |
133 | [email protected] | 133 | [email protected] "\n" |
134 | [email protected] | 134 | [email protected] "}" |
135 | [email protected] "{" | ||
136 | [email protected] "}" | ||
137 | [email protected] ";" | ||
138 | [email protected] "\n" | ||
139 | [email protected] "}" | ||
140 | [email protected] "\n" | 135 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast index 5392b1a74..98963dc62 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast | |||
@@ -9,55 +9,54 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "x" |
21 | [email protected] "x" | 21 | [email protected] "." |
22 | [email protected] "." | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "foo" |
24 | [email protected] "foo" | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "(" |
26 | [email protected] "(" | 26 | [email protected] ")" |
27 | [email protected] ")" | 27 | [email protected] ";" |
28 | [email protected] ";" | 28 | [email protected] "\n " |
29 | [email protected] "\n " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "y" |
36 | [email protected] "y" | 36 | [email protected] "." |
37 | [email protected] "." | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "bar" |
39 | [email protected] "bar" | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "::" |
41 | [email protected] "::" | 41 | [email protected] "<" |
42 | [email protected] "<" | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "T" |
48 | [email protected] "T" | 48 | [email protected] ">" |
49 | [email protected] ">" | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] "(" |
51 | [email protected] "(" | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "1" |
53 | [email protected] "1" | 53 | [email protected] "," |
54 | [email protected] "," | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "2" |
57 | [email protected] "2" | 57 | [email protected] "," |
58 | [email protected] "," | 58 | [email protected] ")" |
59 | [email protected] ")" | 59 | [email protected] ";" |
60 | [email protected] ";" | 60 | [email protected] "\n" |
61 | [email protected] "\n" | 61 | [email protected] "}" |
62 | [email protected] "}" | ||
63 | [email protected] "\n" | 62 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast index 54f18adac..ea603e2c9 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast | |||
@@ -9,31 +9,30 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "(" |
17 | [email protected] "(" | 17 | [email protected] ")" |
18 | [email protected] ")" | 18 | [email protected] ";" |
19 | [email protected] ";" | 19 | [email protected] "\n " |
20 | [email protected] "\n " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "(" |
23 | [email protected] "(" | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "1" |
25 | [email protected] "1" | 25 | [email protected] ")" |
26 | [email protected] ")" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "(" |
31 | [email protected] "(" | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "1" |
33 | [email protected] "1" | 33 | [email protected] "," |
34 | [email protected] "," | 34 | [email protected] ")" |
35 | [email protected] ")" | 35 | [email protected] ";" |
36 | [email protected] ";" | 36 | [email protected] "\n" |
37 | [email protected] "\n" | 37 | [email protected] "}" |
38 | [email protected] "}" | ||
39 | [email protected] "\n" | 38 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast b/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast index 6c9e45684..30ff96a7c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast | |||
@@ -9,60 +9,56 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] "\'a" |
18 | [email protected] "\'a" | 18 | [email protected] ":" |
19 | [email protected] ":" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "loop" |
21 | [email protected] "loop" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] | 24 | [email protected] "}" |
25 | [email protected] "{" | 25 | [email protected] "\n " |
26 | [email protected] "}" | 26 | [email protected] |
27 | [email protected] "\n " | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "\'b" |
30 | [email protected] | 30 | [email protected] ":" |
31 | [email protected] "\'b" | 31 | [email protected] " " |
32 | [email protected] ":" | 32 | [email protected] "while" |
33 | [email protected] " " | 33 | [email protected] " " |
34 | [email protected] "while" | 34 | [email protected] |
35 | [email protected] " " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "true" |
37 | [email protected] | 37 | [email protected] " " |
38 | [email protected] "true" | 38 | [email protected] |
39 | [email protected] " " | 39 | [email protected] "{" |
40 | [email protected] | 40 | [email protected] "}" |
41 | [email protected] | 41 | [email protected] "\n " |
42 | [email protected] "{" | 42 | [email protected] |
43 | [email protected] "}" | 43 | [email protected] |
44 | [email protected] "\n " | 44 | [email protected] "\'c" |
45 | [email protected] | 45 | [email protected] ":" |
46 | [email protected] | 46 | [email protected] " " |
47 | [email protected] "\'c" | 47 | [email protected] "for" |
48 | [email protected] ":" | 48 | [email protected] " " |
49 | [email protected] " " | 49 | [email protected] |
50 | [email protected] "for" | 50 | [email protected] |
51 | [email protected] " " | 51 | [email protected] "x" |
52 | [email protected] | 52 | [email protected] " " |
53 | [email protected] | 53 | [email protected] "in" |
54 | [email protected] "x" | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] "in" | 56 | [email protected] "(" |
57 | [email protected] " " | 57 | [email protected] ")" |
58 | [email protected] | 58 | [email protected] " " |
59 | [email protected] "(" | 59 | [email protected] |
60 | [email protected] ")" | 60 | [email protected] "{" |
61 | [email protected] " " | 61 | [email protected] "}" |
62 | [email protected] | 62 | [email protected] "\n" |
63 | [email protected] | 63 | [email protected] "}" |
64 | [email protected] "{" | ||
65 | [email protected] "}" | ||
66 | [email protected] "\n" | ||
67 | [email protected] "}" | ||
68 | [email protected] "\n" | 64 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast index a1c5475e7..b58f40ac1 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast | |||
@@ -9,82 +9,81 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "a" |
22 | [email protected] "a" | 22 | [email protected] "," |
23 | [email protected] "," | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "b" |
27 | [email protected] "b" | 27 | [email protected] "," |
28 | [email protected] "," | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] ".." |
31 | [email protected] ".." | 31 | [email protected] ")" |
32 | [email protected] ")" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] "=" |
34 | [email protected] "=" | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] "(" |
37 | [email protected] "(" | 37 | [email protected] ")" |
38 | [email protected] ")" | 38 | [email protected] ";" |
39 | [email protected] ";" | 39 | [email protected] "\n " |
40 | [email protected] "\n " | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "let" |
42 | [email protected] "let" | 42 | [email protected] " " |
43 | [email protected] " " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] "(" |
45 | [email protected] "(" | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "a" |
48 | [email protected] "a" | 48 | [email protected] "," |
49 | [email protected] "," | 49 | [email protected] ")" |
50 | [email protected] ")" | 50 | [email protected] " " |
51 | [email protected] " " | 51 | [email protected] "=" |
52 | [email protected] "=" | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "(" |
55 | [email protected] "(" | 55 | [email protected] ")" |
56 | [email protected] ")" | 56 | [email protected] ";" |
57 | [email protected] ";" | 57 | [email protected] "\n " |
58 | [email protected] "\n " | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "let" |
60 | [email protected] "let" | 60 | [email protected] " " |
61 | [email protected] " " | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "(" |
63 | [email protected] "(" | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] ".." |
65 | [email protected] ".." | 65 | [email protected] ")" |
66 | [email protected] ")" | 66 | [email protected] " " |
67 | [email protected] " " | 67 | [email protected] "=" |
68 | [email protected] "=" | 68 | [email protected] " " |
69 | [email protected] " " | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] "(" |
71 | [email protected] "(" | 71 | [email protected] ")" |
72 | [email protected] ")" | 72 | [email protected] ";" |
73 | [email protected] ";" | 73 | [email protected] "\n " |
74 | [email protected] "\n " | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] "let" |
76 | [email protected] "let" | 76 | [email protected] " " |
77 | [email protected] " " | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] "(" |
79 | [email protected] "(" | 79 | [email protected] ")" |
80 | [email protected] ")" | 80 | [email protected] " " |
81 | [email protected] " " | 81 | [email protected] "=" |
82 | [email protected] "=" | 82 | [email protected] " " |
83 | [email protected] " " | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] "(" |
85 | [email protected] "(" | 85 | [email protected] ")" |
86 | [email protected] ")" | 86 | [email protected] ";" |
87 | [email protected] ";" | 87 | [email protected] "\n" |
88 | [email protected] "\n" | 88 | [email protected] "}" |
89 | [email protected] "}" | ||
90 | [email protected] "\n" | 89 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast index 42a770a83..b67714c17 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast | |||
@@ -9,120 +9,119 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "a" |
20 | [email protected] "a" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] "=" |
22 | [email protected] "=" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "(" |
25 | [email protected] "(" | 25 | [email protected] ")" |
26 | [email protected] ")" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "let" |
30 | [email protected] "let" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "mut" |
33 | [email protected] "mut" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "b" |
36 | [email protected] "b" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] "=" |
38 | [email protected] "=" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "(" |
41 | [email protected] "(" | 41 | [email protected] ")" |
42 | [email protected] ")" | 42 | [email protected] ";" |
43 | [email protected] ";" | 43 | [email protected] "\n " |
44 | [email protected] "\n " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "let" |
46 | [email protected] "let" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "ref" |
49 | [email protected] "ref" | 49 | [email protected] " " |
50 | [email protected] " " | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "c" |
52 | [email protected] "c" | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] "=" |
54 | [email protected] "=" | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "(" |
57 | [email protected] "(" | 57 | [email protected] ")" |
58 | [email protected] ")" | 58 | [email protected] ";" |
59 | [email protected] ";" | 59 | [email protected] "\n " |
60 | [email protected] "\n " | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "let" |
62 | [email protected] "let" | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "ref" |
65 | [email protected] "ref" | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] "mut" |
67 | [email protected] "mut" | 67 | [email protected] " " |
68 | [email protected] " " | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] "d" |
70 | [email protected] "d" | 70 | [email protected] " " |
71 | [email protected] " " | 71 | [email protected] "=" |
72 | [email protected] "=" | 72 | [email protected] " " |
73 | [email protected] " " | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] "(" |
75 | [email protected] "(" | 75 | [email protected] ")" |
76 | [email protected] ")" | 76 | [email protected] ";" |
77 | [email protected] ";" | 77 | [email protected] "\n " |
78 | [email protected] "\n " | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] "let" |
80 | [email protected] "let" | 80 | [email protected] " " |
81 | [email protected] " " | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "e" |
84 | [email protected] "e" | 84 | [email protected] " " |
85 | [email protected] " " | 85 | [email protected] "@" |
86 | [email protected] "@" | 86 | [email protected] " " |
87 | [email protected] " " | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] "_" |
89 | [email protected] "_" | 89 | [email protected] " " |
90 | [email protected] " " | 90 | [email protected] "=" |
91 | [email protected] "=" | 91 | [email protected] " " |
92 | [email protected] " " | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] "(" |
94 | [email protected] "(" | 94 | [email protected] ")" |
95 | [email protected] ")" | 95 | [email protected] ";" |
96 | [email protected] ";" | 96 | [email protected] "\n " |
97 | [email protected] "\n " | 97 | [email protected] |
98 | [email protected] | 98 | [email protected] "let" |
99 | [email protected] "let" | 99 | [email protected] " " |
100 | [email protected] " " | 100 | [email protected] |
101 | [email protected] | 101 | [email protected] "ref" |
102 | [email protected] "ref" | 102 | [email protected] " " |
103 | [email protected] " " | 103 | [email protected] "mut" |
104 | [email protected] "mut" | 104 | [email protected] " " |
105 | [email protected] " " | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] "f" |
107 | [email protected] "f" | 107 | [email protected] " " |
108 | [email protected] " " | 108 | [email protected] "@" |
109 | [email protected] "@" | 109 | [email protected] " " |
110 | [email protected] " " | 110 | [email protected] |
111 | [email protected] | 111 | [email protected] |
112 | [email protected] | 112 | [email protected] "g" |
113 | [email protected] "g" | 113 | [email protected] " " |
114 | [email protected] " " | 114 | [email protected] "@" |
115 | [email protected] "@" | 115 | [email protected] " " |
116 | [email protected] " " | 116 | [email protected] |
117 | [email protected] | 117 | [email protected] "_" |
118 | [email protected] "_" | 118 | [email protected] " " |
119 | [email protected] " " | 119 | [email protected] "=" |
120 | [email protected] "=" | 120 | [email protected] " " |
121 | [email protected] " " | 121 | [email protected] |
122 | [email protected] | 122 | [email protected] "(" |
123 | [email protected] "(" | 123 | [email protected] ")" |
124 | [email protected] ")" | 124 | [email protected] ";" |
125 | [email protected] ";" | 125 | [email protected] "\n" |
126 | [email protected] "\n" | 126 | [email protected] "}" |
127 | [email protected] "}" | ||
128 | [email protected] "\n" | 127 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast index 5414c90b8..5de480da9 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast | |||
@@ -8,50 +8,48 @@ [email protected] | |||
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] | 11 | [email protected] "{" |
12 | [email protected] "{" | 12 | [email protected] "\n " |
13 | [email protected] "\n " | 13 | [email protected] ";" |
14 | [email protected] ";" | 14 | [email protected] ";" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] ";" | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "some_expr" |
23 | [email protected] "some_expr" | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "(" |
25 | [email protected] "(" | 25 | [email protected] ")" |
26 | [email protected] ")" | 26 | [email protected] ";" |
27 | [email protected] ";" | 27 | [email protected] ";" |
28 | [email protected] ";" | 28 | [email protected] ";" |
29 | [email protected] ";" | 29 | [email protected] ";" |
30 | [email protected] ";" | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "{" |
33 | [email protected] | 33 | [email protected] ";" |
34 | [email protected] "{" | 34 | [email protected] ";" |
35 | [email protected] ";" | 35 | [email protected] ";" |
36 | [email protected] ";" | 36 | [email protected] "}" |
37 | [email protected] ";" | 37 | [email protected] ";" |
38 | [email protected] "}" | 38 | [email protected] ";" |
39 | [email protected] ";" | 39 | [email protected] ";" |
40 | [email protected] ";" | 40 | [email protected] ";" |
41 | [email protected] ";" | 41 | [email protected] |
42 | [email protected] ";" | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "Ok" |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "Ok" | 48 | [email protected] "(" |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] "(" | 50 | [email protected] "(" |
51 | [email protected] | 51 | [email protected] ")" |
52 | [email protected] "(" | 52 | [email protected] ")" |
53 | [email protected] ")" | 53 | [email protected] "\n" |
54 | [email protected] ")" | 54 | [email protected] "}" |
55 | [email protected] "\n" | ||
56 | [email protected] "}" | ||
57 | [email protected] "\n" | 55 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast b/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast index 8e080fb60..e152c6b6c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast | |||
@@ -9,40 +9,39 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "_" |
27 | [email protected] "_" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "if" |
30 | [email protected] "if" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "foo" |
36 | [email protected] "foo" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] "=>" |
38 | [email protected] "=>" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "(" |
41 | [email protected] "(" | 41 | [email protected] ")" |
42 | [email protected] ")" | 42 | [email protected] "," |
43 | [email protected] "," | 43 | [email protected] "\n " |
44 | [email protected] "\n " | 44 | [email protected] "}" |
45 | [email protected] "}" | 45 | [email protected] "\n" |
46 | [email protected] "\n" | 46 | [email protected] "}" |
47 | [email protected] "}" | ||
48 | [email protected] "\n" | 47 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast b/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast index 728164f8e..b283ab804 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast | |||
@@ -9,73 +9,72 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "#" |
26 | [email protected] "#" | 26 | [email protected] "!" |
27 | [email protected] "!" | 27 | [email protected] "[" |
28 | [email protected] "[" | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "doc" |
32 | [email protected] "doc" | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "(" |
34 | [email protected] "(" | 34 | [email protected] "\"Inner attribute\"" |
35 | [email protected] "\"Inner attribute\"" | 35 | [email protected] ")" |
36 | [email protected] ")" | 36 | [email protected] "]" |
37 | [email protected] "]" | 37 | [email protected] "\n " |
38 | [email protected] "\n " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] "#" |
40 | [email protected] "#" | 40 | [email protected] "!" |
41 | [email protected] "!" | 41 | [email protected] "[" |
42 | [email protected] "[" | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "doc" |
46 | [email protected] "doc" | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "(" |
48 | [email protected] "(" | 48 | [email protected] "\"Can be\"" |
49 | [email protected] "\"Can be\"" | 49 | [email protected] ")" |
50 | [email protected] ")" | 50 | [email protected] "]" |
51 | [email protected] "]" | 51 | [email protected] "\n " |
52 | [email protected] "\n " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "#" |
54 | [email protected] "#" | 54 | [email protected] "!" |
55 | [email protected] "!" | 55 | [email protected] "[" |
56 | [email protected] "[" | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "doc" |
60 | [email protected] "doc" | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "(" |
62 | [email protected] "(" | 62 | [email protected] "\"Stacked\"" |
63 | [email protected] "\"Stacked\"" | 63 | [email protected] ")" |
64 | [email protected] ")" | 64 | [email protected] "]" |
65 | [email protected] "]" | 65 | [email protected] "\n " |
66 | [email protected] "\n " | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] "_" |
69 | [email protected] "_" | 69 | [email protected] " " |
70 | [email protected] " " | 70 | [email protected] "=>" |
71 | [email protected] "=>" | 71 | [email protected] " " |
72 | [email protected] " " | 72 | [email protected] |
73 | [email protected] | 73 | [email protected] "(" |
74 | [email protected] "(" | 74 | [email protected] ")" |
75 | [email protected] ")" | 75 | [email protected] "," |
76 | [email protected] "," | 76 | [email protected] "\n " |
77 | [email protected] "\n " | 77 | [email protected] "}" |
78 | [email protected] "}" | 78 | [email protected] "\n" |
79 | [email protected] "\n" | 79 | [email protected] "}" |
80 | [email protected] "}" | ||
81 | [email protected] "\n" | 80 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast b/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast index 6123885e3..9d5470914 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast | |||
@@ -9,138 +9,137 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "#" |
27 | [email protected] "#" | 27 | [email protected] "[" |
28 | [email protected] "[" | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "cfg" |
32 | [email protected] "cfg" | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "(" |
34 | [email protected] "(" | 34 | [email protected] "feature" |
35 | [email protected] "feature" | 35 | [email protected] " " |
36 | [email protected] " " | 36 | [email protected] "=" |
37 | [email protected] "=" | 37 | [email protected] " " |
38 | [email protected] " " | 38 | [email protected] "\"some\"" |
39 | [email protected] "\"some\"" | 39 | [email protected] ")" |
40 | [email protected] ")" | 40 | [email protected] "]" |
41 | [email protected] "]" | 41 | [email protected] "\n " |
42 | [email protected] "\n " | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] "_" |
44 | [email protected] "_" | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] "=>" |
46 | [email protected] "=>" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "(" |
49 | [email protected] "(" | 49 | [email protected] ")" |
50 | [email protected] ")" | 50 | [email protected] "," |
51 | [email protected] "," | 51 | [email protected] "\n " |
52 | [email protected] "\n " | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "#" |
55 | [email protected] "#" | 55 | [email protected] "[" |
56 | [email protected] "[" | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] "cfg" |
60 | [email protected] "cfg" | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "(" |
62 | [email protected] "(" | 62 | [email protected] "feature" |
63 | [email protected] "feature" | 63 | [email protected] " " |
64 | [email protected] " " | 64 | [email protected] "=" |
65 | [email protected] "=" | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] "\"other\"" |
67 | [email protected] "\"other\"" | 67 | [email protected] ")" |
68 | [email protected] ")" | 68 | [email protected] "]" |
69 | [email protected] "]" | 69 | [email protected] "\n " |
70 | [email protected] "\n " | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "_" |
72 | [email protected] "_" | 72 | [email protected] " " |
73 | [email protected] " " | 73 | [email protected] "=>" |
74 | [email protected] "=>" | 74 | [email protected] " " |
75 | [email protected] " " | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "(" |
77 | [email protected] "(" | 77 | [email protected] ")" |
78 | [email protected] ")" | 78 | [email protected] "," |
79 | [email protected] "," | 79 | [email protected] "\n " |
80 | [email protected] "\n " | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] "#" |
83 | [email protected] "#" | 83 | [email protected] "[" |
84 | [email protected] "[" | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] "cfg" |
88 | [email protected] "cfg" | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] "(" |
90 | [email protected] "(" | 90 | [email protected] "feature" |
91 | [email protected] "feature" | 91 | [email protected] " " |
92 | [email protected] " " | 92 | [email protected] "=" |
93 | [email protected] "=" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] "\"many\"" |
95 | [email protected] "\"many\"" | 95 | [email protected] ")" |
96 | [email protected] ")" | 96 | [email protected] "]" |
97 | [email protected] "]" | 97 | [email protected] "\n " |
98 | [email protected] "\n " | 98 | [email protected] |
99 | [email protected] | 99 | [email protected] "#" |
100 | [email protected] "#" | 100 | [email protected] "[" |
101 | [email protected] "[" | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] |
103 | [email protected] | 103 | [email protected] |
104 | [email protected] | 104 | [email protected] "cfg" |
105 | [email protected] "cfg" | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] "(" |
107 | [email protected] "(" | 107 | [email protected] "feature" |
108 | [email protected] "feature" | 108 | [email protected] " " |
109 | [email protected] " " | 109 | [email protected] "=" |
110 | [email protected] "=" | 110 | [email protected] " " |
111 | [email protected] " " | 111 | [email protected] "\"attributes\"" |
112 | [email protected] "\"attributes\"" | 112 | [email protected] ")" |
113 | [email protected] ")" | 113 | [email protected] "]" |
114 | [email protected] "]" | 114 | [email protected] "\n " |
115 | [email protected] "\n " | 115 | [email protected] |
116 | [email protected] | 116 | [email protected] "#" |
117 | [email protected] "#" | 117 | [email protected] "[" |
118 | [email protected] "[" | 118 | [email protected] |
119 | [email protected] | 119 | [email protected] |
120 | [email protected] | 120 | [email protected] |
121 | [email protected] | 121 | [email protected] "cfg" |
122 | [email protected] "cfg" | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] "(" |
124 | [email protected] "(" | 124 | [email protected] "feature" |
125 | [email protected] "feature" | 125 | [email protected] " " |
126 | [email protected] " " | 126 | [email protected] "=" |
127 | [email protected] "=" | 127 | [email protected] " " |
128 | [email protected] " " | 128 | [email protected] "\"before\"" |
129 | [email protected] "\"before\"" | 129 | [email protected] ")" |
130 | [email protected] ")" | 130 | [email protected] "]" |
131 | [email protected] "]" | 131 | [email protected] "\n " |
132 | [email protected] "\n " | 132 | [email protected] |
133 | [email protected] | 133 | [email protected] "_" |
134 | [email protected] "_" | 134 | [email protected] " " |
135 | [email protected] " " | 135 | [email protected] "=>" |
136 | [email protected] "=>" | 136 | [email protected] " " |
137 | [email protected] " " | 137 | [email protected] |
138 | [email protected] | 138 | [email protected] "(" |
139 | [email protected] "(" | 139 | [email protected] ")" |
140 | [email protected] ")" | 140 | [email protected] "," |
141 | [email protected] "," | 141 | [email protected] "\n " |
142 | [email protected] "\n " | 142 | [email protected] "}" |
143 | [email protected] "}" | 143 | [email protected] "\n" |
144 | [email protected] "\n" | 144 | [email protected] "}" |
145 | [email protected] "}" | ||
146 | [email protected] "\n" | 145 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast b/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast index 67b9c10d5..ada2fc54e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast | |||
@@ -59,8 +59,7 @@ [email protected] | |||
59 | [email protected] ")" | 59 | [email protected] ")" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "{" |
63 | [email protected] "{" | 63 | [email protected] "\n" |
64 | [email protected] "\n" | 64 | [email protected] "}" |
65 | [email protected] "}" | ||
66 | [email protected] "\n" | 65 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast index baf22a8d7..6178dfe59 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast | |||
@@ -11,7 +11,6 @@ [email protected] | |||
11 | [email protected] ")" | 11 | [email protected] ")" |
12 | [email protected] " " | 12 | [email protected] " " |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] | 14 | [email protected] "{" |
15 | [email protected] "{" | 15 | [email protected] "}" |
16 | [email protected] "}" | ||
17 | [email protected] "\n" | 16 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast index 16f5b90b6..ced59b7c1 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast | |||
@@ -9,24 +9,23 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "crate" |
21 | [email protected] "crate" | 21 | [email protected] "::" |
22 | [email protected] "::" | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "foo" |
25 | [email protected] "foo" | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "(" |
27 | [email protected] "(" | 27 | [email protected] ")" |
28 | [email protected] ")" | 28 | [email protected] ";" |
29 | [email protected] ";" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] "}" |
31 | [email protected] "}" | ||
32 | [email protected] "\n" | 31 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast index 07ed14773..97611f7f3 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast | |||
@@ -9,40 +9,39 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "S" |
19 | [email protected] "S" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "{" |
22 | [email protected] "{" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "#" |
26 | [email protected] "#" | 26 | [email protected] "[" |
27 | [email protected] "[" | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "cfg" |
31 | [email protected] "cfg" | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "(" |
33 | [email protected] "(" | 33 | [email protected] "test" |
34 | [email protected] "test" | 34 | [email protected] ")" |
35 | [email protected] ")" | 35 | [email protected] "]" |
36 | [email protected] "]" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "field" |
39 | [email protected] "field" | 39 | [email protected] ":" |
40 | [email protected] ":" | 40 | [email protected] " " |
41 | [email protected] " " | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "1" |
43 | [email protected] "1" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] "}" |
45 | [email protected] "}" | 45 | [email protected] "\n" |
46 | [email protected] "\n" | 46 | [email protected] "}" |
47 | [email protected] "}" | ||
48 | [email protected] "\n" | 47 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast b/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast index 8307d4c15..09221fc54 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast | |||
@@ -9,91 +9,89 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "#" |
17 | [email protected] "#" | 17 | [email protected] "[" |
18 | [email protected] "[" | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "A" |
22 | [email protected] "A" | 22 | [email protected] "]" |
23 | [email protected] "]" | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "foo" |
30 | [email protected] "foo" | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "(" |
32 | [email protected] "(" | 32 | [email protected] ")" |
33 | [email protected] ")" | 33 | [email protected] ";" |
34 | [email protected] ";" | 34 | [email protected] "\n " |
35 | [email protected] "\n " | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "#" |
38 | [email protected] "#" | 38 | [email protected] "[" |
39 | [email protected] "[" | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "B" |
43 | [email protected] "B" | 43 | [email protected] "]" |
44 | [email protected] "]" | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "bar" |
50 | [email protected] "bar" | 50 | [email protected] "!" |
51 | [email protected] "!" | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "{" |
53 | [email protected] "{" | 53 | [email protected] "}" |
54 | [email protected] "}" | 54 | [email protected] "\n " |
55 | [email protected] "\n " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] "#" |
58 | [email protected] "#" | 58 | [email protected] "[" |
59 | [email protected] "[" | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "C" |
63 | [email protected] "C" | 63 | [email protected] "]" |
64 | [email protected] "]" | 64 | [email protected] " " |
65 | [email protected] " " | 65 | [email protected] |
66 | [email protected] | 66 | [email protected] "#" |
67 | [email protected] "#" | 67 | [email protected] "[" |
68 | [email protected] "[" | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "D" |
72 | [email protected] "D" | 72 | [email protected] "]" |
73 | [email protected] "]" | 73 | [email protected] " " |
74 | [email protected] " " | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] "{" |
76 | [email protected] | 76 | [email protected] "}" |
77 | [email protected] "{" | 77 | [email protected] "\n " |
78 | [email protected] "}" | 78 | [email protected] |
79 | [email protected] "\n " | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] "#" |
81 | [email protected] | 81 | [email protected] "[" |
82 | [email protected] "#" | 82 | [email protected] |
83 | [email protected] "[" | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] "D" |
86 | [email protected] | 86 | [email protected] "]" |
87 | [email protected] "D" | 87 | [email protected] " " |
88 | [email protected] "]" | 88 | [email protected] |
89 | [email protected] " " | 89 | [email protected] "return" |
90 | [email protected] | 90 | [email protected] " " |
91 | [email protected] "return" | 91 | [email protected] |
92 | [email protected] " " | 92 | [email protected] "(" |
93 | [email protected] | 93 | [email protected] ")" |
94 | [email protected] "(" | 94 | [email protected] ";" |
95 | [email protected] ")" | 95 | [email protected] "\n" |
96 | [email protected] ";" | 96 | [email protected] "}" |
97 | [email protected] "\n" | ||
98 | [email protected] "}" | ||
99 | [email protected] "\n" | 97 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast index 19c47ea25..93cc41533 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast | |||
@@ -9,51 +9,49 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "{" |
17 | [email protected] | 17 | [email protected] " " |
18 | [email protected] "{" | 18 | [email protected] |
19 | [email protected] " " | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "#" |
21 | [email protected] | 21 | [email protected] "[" |
22 | [email protected] "#" | 22 | [email protected] |
23 | [email protected] "[" | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "A" |
26 | [email protected] | 26 | [email protected] "]" |
27 | [email protected] "A" | 27 | [email protected] " " |
28 | [email protected] "]" | 28 | [email protected] |
29 | [email protected] " " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "bar" |
33 | [email protected] | 33 | [email protected] "!" |
34 | [email protected] "bar" | 34 | [email protected] |
35 | [email protected] "!" | 35 | [email protected] "(" |
36 | [email protected] | 36 | [email protected] ")" |
37 | [email protected] "(" | 37 | [email protected] "?" |
38 | [email protected] ")" | 38 | [email protected] " " |
39 | [email protected] "?" | 39 | [email protected] "}" |
40 | [email protected] " " | 40 | [email protected] "\n " |
41 | [email protected] "}" | 41 | [email protected] |
42 | [email protected] "\n " | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] "#" |
44 | [email protected] | 44 | [email protected] "[" |
45 | [email protected] "#" | 45 | [email protected] |
46 | [email protected] "[" | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "B" |
49 | [email protected] | 49 | [email protected] "]" |
50 | [email protected] "B" | 50 | [email protected] " " |
51 | [email protected] "]" | 51 | [email protected] "&" |
52 | [email protected] " " | 52 | [email protected] |
53 | [email protected] "&" | 53 | [email protected] "(" |
54 | [email protected] | 54 | [email protected] ")" |
55 | [email protected] "(" | 55 | [email protected] "\n" |
56 | [email protected] ")" | 56 | [email protected] "}" |
57 | [email protected] "\n" | ||
58 | [email protected] "}" | ||
59 | [email protected] "\n" | 57 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast index 5630b20af..0901f2348 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast | |||
@@ -13,9 +13,8 @@ [email protected] | |||
13 | [email protected] ")" | 13 | [email protected] ")" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] "{" |
17 | [email protected] "{" | 17 | [email protected] "}" |
18 | [email protected] "}" | ||
19 | [email protected] "\n" | 18 | [email protected] "\n" |
20 | [email protected] | 19 | [email protected] |
21 | [email protected] "const" | 20 | [email protected] "const" |
@@ -31,7 +30,6 @@ [email protected] | |||
31 | [email protected] ")" | 30 | [email protected] ")" |
32 | [email protected] " " | 31 | [email protected] " " |
33 | [email protected] | 32 | [email protected] |
34 | [email protected] | 33 | [email protected] "{" |
35 | [email protected] "{" | 34 | [email protected] "}" |
36 | [email protected] "}" | ||
37 | [email protected] "\n" | 35 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast index 4946ee050..28291afc2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast | |||
@@ -9,29 +9,28 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "m" |
23 | [email protected] "m" | 23 | [email protected] "!" |
24 | [email protected] "!" | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "(" |
26 | [email protected] "(" | 26 | [email protected] "x" |
27 | [email protected] "x" | 27 | [email protected] ")" |
28 | [email protected] ")" | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] "=" |
30 | [email protected] "=" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "0" |
33 | [email protected] "0" | 33 | [email protected] ";" |
34 | [email protected] ";" | 34 | [email protected] "\n" |
35 | [email protected] "\n" | 35 | [email protected] "}" |
36 | [email protected] "}" | ||
37 | [email protected] "\n" | 36 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast index 18fdd9dc9..bb94a05c6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast | |||
@@ -9,121 +9,118 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "a" |
20 | [email protected] "a" | 20 | [email protected] ";" |
21 | [email protected] ";" | 21 | [email protected] "\n " |
22 | [email protected] "\n " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "let" |
24 | [email protected] "let" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "b" |
28 | [email protected] "b" | 28 | [email protected] ":" |
29 | [email protected] ":" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "i32" |
35 | [email protected] "i32" | 35 | [email protected] ";" |
36 | [email protected] ";" | 36 | [email protected] "\n " |
37 | [email protected] "\n " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "let" |
39 | [email protected] "let" | 39 | [email protected] " " |
40 | [email protected] " " | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "c" |
43 | [email protected] "c" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] "=" |
45 | [email protected] "=" | 45 | [email protected] " " |
46 | [email protected] " " | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] "92" |
48 | [email protected] "92" | 48 | [email protected] ";" |
49 | [email protected] ";" | 49 | [email protected] "\n " |
50 | [email protected] "\n " | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "let" |
52 | [email protected] "let" | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] "d" |
56 | [email protected] "d" | 56 | [email protected] ":" |
57 | [email protected] ":" | 57 | [email protected] " " |
58 | [email protected] " " | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "i32" |
63 | [email protected] "i32" | 63 | [email protected] " " |
64 | [email protected] " " | 64 | [email protected] "=" |
65 | [email protected] "=" | 65 | [email protected] " " |
66 | [email protected] " " | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] "92" |
68 | [email protected] "92" | 68 | [email protected] ";" |
69 | [email protected] ";" | 69 | [email protected] "\n " |
70 | [email protected] "\n " | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "let" |
72 | [email protected] "let" | 72 | [email protected] " " |
73 | [email protected] " " | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] "e" |
76 | [email protected] "e" | 76 | [email protected] ":" |
77 | [email protected] ":" | 77 | [email protected] " " |
78 | [email protected] " " | 78 | [email protected] |
79 | [email protected] | 79 | [email protected] "!" |
80 | [email protected] "!" | 80 | [email protected] ";" |
81 | [email protected] ";" | 81 | [email protected] "\n " |
82 | [email protected] "\n " | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "let" |
84 | [email protected] "let" | 84 | [email protected] " " |
85 | [email protected] " " | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] "_" |
87 | [email protected] "_" | 87 | [email protected] ":" |
88 | [email protected] ":" | 88 | [email protected] " " |
89 | [email protected] " " | 89 | [email protected] |
90 | [email protected] | 90 | [email protected] "!" |
91 | [email protected] "!" | 91 | [email protected] " " |
92 | [email protected] " " | 92 | [email protected] "=" |
93 | [email protected] "=" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] |
95 | [email protected] | 95 | [email protected] "{" |
96 | [email protected] | 96 | [email protected] "}" |
97 | [email protected] "{" | 97 | [email protected] ";" |
98 | [email protected] "}" | 98 | [email protected] "\n " |
99 | [email protected] ";" | 99 | [email protected] |
100 | [email protected] "\n " | 100 | [email protected] "let" |
101 | [email protected] | 101 | [email protected] " " |
102 | [email protected] "let" | 102 | [email protected] |
103 | [email protected] " " | 103 | [email protected] |
104 | [email protected] | 104 | [email protected] "f" |
105 | [email protected] | 105 | [email protected] " " |
106 | [email protected] "f" | 106 | [email protected] "=" |
107 | [email protected] " " | 107 | [email protected] " " |
108 | [email protected] "=" | 108 | [email protected] |
109 | [email protected] " " | 109 | [email protected] |
110 | [email protected] | 110 | [email protected] "#" |
111 | [email protected] | 111 | [email protected] "[" |
112 | [email protected] "#" | 112 | [email protected] |
113 | [email protected] "[" | 113 | [email protected] |
114 | [email protected] | 114 | [email protected] |
115 | [email protected] | 115 | [email protected] "attr" |
116 | [email protected] | 116 | [email protected] "]" |
117 | [email protected] "attr" | 117 | [email protected] |
118 | [email protected] "]" | 118 | [email protected] "|" |
119 | [email protected] | 119 | [email protected] "|" |
120 | [email protected] "|" | 120 | [email protected] |
121 | [email protected] "|" | 121 | [email protected] "{" |
122 | [email protected] | 122 | [email protected] "}" |
123 | [email protected] | 123 | [email protected] ";" |
124 | [email protected] "{" | 124 | [email protected] "\n" |
125 | [email protected] "}" | 125 | [email protected] "}" |
126 | [email protected] ";" | ||
127 | [email protected] "\n" | ||
128 | [email protected] "}" | ||
129 | [email protected] "\n" | 126 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast index 01fffd7b0..8f2f144c7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast | |||
@@ -9,25 +9,23 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "try" |
24 | [email protected] "try" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "{" |
27 | [email protected] | 27 | [email protected] "}" |
28 | [email protected] "{" | 28 | [email protected] ";" |
29 | [email protected] "}" | 29 | [email protected] "\n" |
30 | [email protected] ";" | 30 | [email protected] "}" |
31 | [email protected] "\n" | ||
32 | [email protected] "}" | ||
33 | [email protected] "\n" | 31 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast index 498b3121e..87ac42748 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast | |||
@@ -9,82 +9,81 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "x" |
20 | [email protected] "x" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] "=" |
22 | [email protected] "=" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "box" |
25 | [email protected] "box" | 25 | [email protected] " " |
26 | [email protected] " " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "1i32" |
28 | [email protected] "1i32" | 28 | [email protected] ";" |
29 | [email protected] ";" | 29 | [email protected] "\n " |
30 | [email protected] "\n " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "let" |
32 | [email protected] "let" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "y" |
36 | [email protected] "y" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] "=" |
38 | [email protected] "=" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "(" |
41 | [email protected] "(" | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "box" |
43 | [email protected] "box" | 43 | [email protected] " " |
44 | [email protected] " " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "1i32" |
46 | [email protected] "1i32" | 46 | [email protected] "," |
47 | [email protected] "," | 47 | [email protected] " " |
48 | [email protected] " " | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] "box" |
50 | [email protected] "box" | 50 | [email protected] " " |
51 | [email protected] " " | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "2i32" |
53 | [email protected] "2i32" | 53 | [email protected] ")" |
54 | [email protected] ")" | 54 | [email protected] ";" |
55 | [email protected] ";" | 55 | [email protected] "\n " |
56 | [email protected] "\n " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] "let" |
58 | [email protected] "let" | 58 | [email protected] " " |
59 | [email protected] " " | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "z" |
62 | [email protected] "z" | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] "=" |
64 | [email protected] "=" | 64 | [email protected] " " |
65 | [email protected] " " | 65 | [email protected] |
66 | [email protected] | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] "Foo" |
71 | [email protected] "Foo" | 71 | [email protected] |
72 | [email protected] | 72 | [email protected] "(" |
73 | [email protected] "(" | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] "box" |
75 | [email protected] "box" | 75 | [email protected] " " |
76 | [email protected] " " | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] "1i32" |
78 | [email protected] "1i32" | 78 | [email protected] "," |
79 | [email protected] "," | 79 | [email protected] " " |
80 | [email protected] " " | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] "box" |
82 | [email protected] "box" | 82 | [email protected] " " |
83 | [email protected] " " | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] "2i32" |
85 | [email protected] "2i32" | 85 | [email protected] ")" |
86 | [email protected] ")" | 86 | [email protected] ";" |
87 | [email protected] ";" | 87 | [email protected] "\n" |
88 | [email protected] "\n" | 88 | [email protected] "}" |
89 | [email protected] "}" | ||
90 | [email protected] "\n" | 89 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast index db58a928e..00ce5ecf0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast | |||
@@ -48,9 +48,8 @@ [email protected] | |||
48 | [email protected] ")" | 48 | [email protected] ")" |
49 | [email protected] " " | 49 | [email protected] " " |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "{" |
52 | [email protected] "{" | 52 | [email protected] "}" |
53 | [email protected] "}" | ||
54 | [email protected] "\n" | 53 | [email protected] "\n" |
55 | [email protected] "}" | 54 | [email protected] "}" |
56 | [email protected] "\n" | 55 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast index 4ca554ef8..b330a0932 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast | |||
@@ -9,56 +9,54 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "enum" |
16 | [email protected] "enum" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "LocalEnum" |
19 | [email protected] "LocalEnum" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "{" |
22 | [email protected] "{" | 22 | [email protected] "\n " |
23 | [email protected] "\n " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "One" |
26 | [email protected] "One" | 26 | [email protected] "," |
27 | [email protected] "," | 27 | [email protected] "\n " |
28 | [email protected] "\n " | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "Two" |
31 | [email protected] "Two" | 31 | [email protected] "," |
32 | [email protected] "," | 32 | [email protected] "\n " |
33 | [email protected] "\n " | 33 | [email protected] "}" |
34 | [email protected] "}" | 34 | [email protected] ";" |
35 | [email protected] ";" | 35 | [email protected] "\n " |
36 | [email protected] "\n " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "fn" |
38 | [email protected] "fn" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "f" |
41 | [email protected] "f" | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "(" |
43 | [email protected] "(" | 43 | [email protected] ")" |
44 | [email protected] ")" | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "{" |
47 | [email protected] | 47 | [email protected] "}" |
48 | [email protected] "{" | 48 | [email protected] ";" |
49 | [email protected] "}" | 49 | [email protected] "\n " |
50 | [email protected] ";" | 50 | [email protected] |
51 | [email protected] "\n " | 51 | [email protected] "struct" |
52 | [email protected] | 52 | [email protected] " " |
53 | [email protected] "struct" | 53 | [email protected] |
54 | [email protected] " " | 54 | [email protected] "S" |
55 | [email protected] | 55 | [email protected] " " |
56 | [email protected] "S" | 56 | [email protected] |
57 | [email protected] " " | 57 | [email protected] "{" |
58 | [email protected] | 58 | [email protected] "}" |
59 | [email protected] "{" | 59 | [email protected] ";" |
60 | [email protected] "}" | 60 | [email protected] "\n" |
61 | [email protected] ";" | 61 | [email protected] "}" |
62 | [email protected] "\n" | ||
63 | [email protected] "}" | ||
64 | [email protected] "\n" | 62 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast index 7fa3b9f32..8e8d9e992 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast | |||
@@ -9,62 +9,61 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "x" |
21 | [email protected] "x" | 21 | [email protected] "." |
22 | [email protected] "." | 22 | [email protected] "await" |
23 | [email protected] "await" | 23 | [email protected] ";" |
24 | [email protected] ";" | 24 | [email protected] "\n " |
25 | [email protected] "\n " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "x" |
33 | [email protected] "x" | 33 | [email protected] "." |
34 | [email protected] "." | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "0" |
36 | [email protected] "0" | 36 | [email protected] "." |
37 | [email protected] "." | 37 | [email protected] "await" |
38 | [email protected] "await" | 38 | [email protected] ";" |
39 | [email protected] ";" | 39 | [email protected] "\n " |
40 | [email protected] "\n " | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] "x" |
51 | [email protected] "x" | 51 | [email protected] "." |
52 | [email protected] "." | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "0" |
54 | [email protected] "0" | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] "(" |
56 | [email protected] "(" | 56 | [email protected] ")" |
57 | [email protected] ")" | 57 | [email protected] "." |
58 | [email protected] "." | 58 | [email protected] "await" |
59 | [email protected] "await" | 59 | [email protected] "?" |
60 | [email protected] "?" | 60 | [email protected] "." |
61 | [email protected] "." | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "hello" |
63 | [email protected] "hello" | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "(" |
65 | [email protected] "(" | 65 | [email protected] ")" |
66 | [email protected] ")" | 66 | [email protected] ";" |
67 | [email protected] ";" | 67 | [email protected] "\n" |
68 | [email protected] "\n" | 68 | [email protected] "}" |
69 | [email protected] "}" | ||
70 | [email protected] "\n" | 69 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast index a32484f2c..c457851c9 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast | |||
@@ -50,7 +50,6 @@ [email protected] | |||
50 | [email protected] ")" | 50 | [email protected] ")" |
51 | [email protected] " " | 51 | [email protected] " " |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] "{" |
54 | [email protected] "{" | 54 | [email protected] "}" |
55 | [email protected] "}" | ||
56 | [email protected] "\n" | 55 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast index 9017236cc..ea325831e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast | |||
@@ -9,58 +9,56 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "mut" |
19 | [email protected] "mut" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "p" |
22 | [email protected] "p" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] "=" |
24 | [email protected] "=" | 24 | [email protected] " " |
25 | [email protected] " " | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "F" |
30 | [email protected] "F" | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "{" |
32 | [email protected] "{" | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "x" |
35 | [email protected] "x" | 35 | [email protected] ":" |
36 | [email protected] ":" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "5" |
39 | [email protected] "5" | 39 | [email protected] "}" |
40 | [email protected] "}" | 40 | [email protected] ";" |
41 | [email protected] ";" | 41 | [email protected] "\n " |
42 | [email protected] "\n " | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "{" |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "{" | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "p" |
52 | [email protected] | 52 | [email protected] "}" |
53 | [email protected] "p" | 53 | [email protected] "." |
54 | [email protected] "}" | 54 | [email protected] |
55 | [email protected] "." | 55 | [email protected] "x" |
56 | [email protected] | 56 | [email protected] " " |
57 | [email protected] "x" | 57 | [email protected] "=" |
58 | [email protected] " " | 58 | [email protected] " " |
59 | [email protected] "=" | 59 | [email protected] |
60 | [email protected] " " | 60 | [email protected] "10" |
61 | [email protected] | 61 | [email protected] ";" |
62 | [email protected] "10" | 62 | [email protected] "\n" |
63 | [email protected] ";" | 63 | [email protected] "}" |
64 | [email protected] "\n" | ||
65 | [email protected] "}" | ||
66 | [email protected] "\n" | 64 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast index 2cb5b52f4..9135de9df 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast | |||
@@ -20,7 +20,6 @@ [email protected] | |||
20 | [email protected] ")" | 20 | [email protected] ")" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "{" |
24 | [email protected] "{" | 24 | [email protected] "}" |
25 | [email protected] "}" | ||
26 | [email protected] "\n" | 25 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast index ac3f4de26..14610a0a2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast | |||
@@ -29,7 +29,6 @@ [email protected] | |||
29 | [email protected] ")" | 29 | [email protected] ")" |
30 | [email protected] " " | 30 | [email protected] " " |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "{" |
33 | [email protected] "{" | 33 | [email protected] "}" |
34 | [email protected] "}" | ||
35 | [email protected] "\n" | 34 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast index 8d4919cbd..e6be8b7e4 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast | |||
@@ -9,34 +9,32 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "for" |
16 | [email protected] "for" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "x" |
20 | [email protected] "x" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] "in" |
22 | [email protected] "in" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "0" |
26 | [email protected] "0" | 26 | [email protected] " " |
27 | [email protected] " " | 27 | [email protected] ".." |
28 | [email protected] ".." | 28 | [email protected] " " |
29 | [email protected] " " | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] "{" |
31 | [email protected] | 31 | [email protected] "\n " |
32 | [email protected] "{" | 32 | [email protected] |
33 | [email protected] "\n " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "break" |
35 | [email protected] | 35 | [email protected] ";" |
36 | [email protected] "break" | 36 | [email protected] "\n " |
37 | [email protected] ";" | 37 | [email protected] "}" |
38 | [email protected] "\n " | 38 | [email protected] "\n" |
39 | [email protected] "}" | 39 | [email protected] "}" |
40 | [email protected] "\n" | ||
41 | [email protected] "}" | ||
42 | [email protected] "\n" | 40 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast index 2c933fa76..57fba5fd5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast | |||
@@ -9,103 +9,102 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "box" |
19 | [email protected] "box" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "i" |
23 | [email protected] "i" | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] "=" |
25 | [email protected] "=" | 25 | [email protected] " " |
26 | [email protected] " " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] "(" |
28 | [email protected] "(" | 28 | [email protected] ")" |
29 | [email protected] ")" | 29 | [email protected] ";" |
30 | [email protected] ";" | 30 | [email protected] "\n " |
31 | [email protected] "\n " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] "let" |
33 | [email protected] "let" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "box" |
36 | [email protected] "box" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "Outer" |
42 | [email protected] "Outer" | 42 | [email protected] " " |
43 | [email protected] " " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] "{" |
45 | [email protected] "{" | 45 | [email protected] " " |
46 | [email protected] " " | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "box" |
49 | [email protected] "box" | 49 | [email protected] " " |
50 | [email protected] " " | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] "i" |
53 | [email protected] "i" | 53 | [email protected] "," |
54 | [email protected] "," | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] "j" |
58 | [email protected] "j" | 58 | [email protected] ":" |
59 | [email protected] ":" | 59 | [email protected] " " |
60 | [email protected] " " | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "box" |
62 | [email protected] "box" | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] |
66 | [email protected] | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] "Inner" |
68 | [email protected] "Inner" | 68 | [email protected] "(" |
69 | [email protected] "(" | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] "box" |
71 | [email protected] "box" | 71 | [email protected] " " |
72 | [email protected] " " | 72 | [email protected] |
73 | [email protected] | 73 | [email protected] "&" |
74 | [email protected] "&" | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "x" |
77 | [email protected] "x" | 77 | [email protected] ")" |
78 | [email protected] ")" | 78 | [email protected] " " |
79 | [email protected] " " | 79 | [email protected] "}" |
80 | [email protected] "}" | 80 | [email protected] " " |
81 | [email protected] " " | 81 | [email protected] "=" |
82 | [email protected] "=" | 82 | [email protected] " " |
83 | [email protected] " " | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] "(" |
85 | [email protected] "(" | 85 | [email protected] ")" |
86 | [email protected] ")" | 86 | [email protected] ";" |
87 | [email protected] ";" | 87 | [email protected] "\n " |
88 | [email protected] "\n " | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] "let" |
90 | [email protected] "let" | 90 | [email protected] " " |
91 | [email protected] " " | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] "box" |
93 | [email protected] "box" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] |
95 | [email protected] | 95 | [email protected] "ref" |
96 | [email protected] "ref" | 96 | [email protected] " " |
97 | [email protected] " " | 97 | [email protected] "mut" |
98 | [email protected] "mut" | 98 | [email protected] " " |
99 | [email protected] " " | 99 | [email protected] |
100 | [email protected] | 100 | [email protected] "i" |
101 | [email protected] "i" | 101 | [email protected] " " |
102 | [email protected] " " | 102 | [email protected] "=" |
103 | [email protected] "=" | 103 | [email protected] " " |
104 | [email protected] " " | 104 | [email protected] |
105 | [email protected] | 105 | [email protected] "(" |
106 | [email protected] "(" | 106 | [email protected] ")" |
107 | [email protected] ")" | 107 | [email protected] ";" |
108 | [email protected] ";" | 108 | [email protected] "\n" |
109 | [email protected] "\n" | 109 | [email protected] "}" |
110 | [email protected] "}" | ||
111 | [email protected] "\n" | 110 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast index e0b50d8be..8d8b9597b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast | |||
@@ -9,448 +9,447 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] ".." |
19 | [email protected] ".." | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] "(" |
24 | [email protected] "(" | 24 | [email protected] ")" |
25 | [email protected] ")" | 25 | [email protected] ";" |
26 | [email protected] ";" | 26 | [email protected] "\n " |
27 | [email protected] "\n " | 27 | [email protected] "//" |
28 | [email protected] "//" | 28 | [email protected] "\n " |
29 | [email protected] "\n " | 29 | [email protected] "// Tuples" |
30 | [email protected] "// Tuples" | 30 | [email protected] "\n " |
31 | [email protected] "\n " | 31 | [email protected] "//" |
32 | [email protected] "//" | 32 | [email protected] "\n " |
33 | [email protected] "\n " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "let" |
35 | [email protected] "let" | 35 | [email protected] " " |
36 | [email protected] " " | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] "(" |
38 | [email protected] "(" | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "a" |
41 | [email protected] "a" | 41 | [email protected] "," |
42 | [email protected] "," | 42 | [email protected] " " |
43 | [email protected] " " | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] ".." |
45 | [email protected] ".." | 45 | [email protected] ")" |
46 | [email protected] ")" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] "=" |
48 | [email protected] "=" | 48 | [email protected] " " |
49 | [email protected] " " | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] "(" |
51 | [email protected] "(" | 51 | [email protected] ")" |
52 | [email protected] ")" | 52 | [email protected] ";" |
53 | [email protected] ";" | 53 | [email protected] "\n " |
54 | [email protected] "\n " | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] "let" |
56 | [email protected] "let" | 56 | [email protected] " " |
57 | [email protected] " " | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "(" |
59 | [email protected] "(" | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] "a" |
62 | [email protected] "a" | 62 | [email protected] "," |
63 | [email protected] "," | 63 | [email protected] " " |
64 | [email protected] " " | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] ".." |
66 | [email protected] ".." | 66 | [email protected] "," |
67 | [email protected] "," | 67 | [email protected] ")" |
68 | [email protected] ")" | 68 | [email protected] " " |
69 | [email protected] " " | 69 | [email protected] "=" |
70 | [email protected] "=" | 70 | [email protected] " " |
71 | [email protected] " " | 71 | [email protected] |
72 | [email protected] | 72 | [email protected] "(" |
73 | [email protected] "(" | 73 | [email protected] ")" |
74 | [email protected] ")" | 74 | [email protected] ";" |
75 | [email protected] ";" | 75 | [email protected] "\n " |
76 | [email protected] "\n " | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] "let" |
78 | [email protected] "let" | 78 | [email protected] " " |
79 | [email protected] " " | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "Tuple" |
84 | [email protected] "Tuple" | 84 | [email protected] "(" |
85 | [email protected] "(" | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] "a" |
88 | [email protected] "a" | 88 | [email protected] "," |
89 | [email protected] "," | 89 | [email protected] " " |
90 | [email protected] " " | 90 | [email protected] |
91 | [email protected] | 91 | [email protected] ".." |
92 | [email protected] ".." | 92 | [email protected] ")" |
93 | [email protected] ")" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] "=" |
95 | [email protected] "=" | 95 | [email protected] " " |
96 | [email protected] " " | 96 | [email protected] |
97 | [email protected] | 97 | [email protected] "(" |
98 | [email protected] "(" | 98 | [email protected] ")" |
99 | [email protected] ")" | 99 | [email protected] ";" |
100 | [email protected] ";" | 100 | [email protected] "\n " |
101 | [email protected] "\n " | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] "let" |
103 | [email protected] "let" | 103 | [email protected] " " |
104 | [email protected] " " | 104 | [email protected] |
105 | [email protected] | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] "Tuple" |
109 | [email protected] "Tuple" | 109 | [email protected] "(" |
110 | [email protected] "(" | 110 | [email protected] |
111 | [email protected] | 111 | [email protected] |
112 | [email protected] | 112 | [email protected] "a" |
113 | [email protected] "a" | 113 | [email protected] "," |
114 | [email protected] "," | 114 | [email protected] " " |
115 | [email protected] " " | 115 | [email protected] |
116 | [email protected] | 116 | [email protected] ".." |
117 | [email protected] ".." | 117 | [email protected] "," |
118 | [email protected] "," | 118 | [email protected] ")" |
119 | [email protected] ")" | 119 | [email protected] " " |
120 | [email protected] " " | 120 | [email protected] "=" |
121 | [email protected] "=" | 121 | [email protected] " " |
122 | [email protected] " " | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] "(" |
124 | [email protected] "(" | 124 | [email protected] ")" |
125 | [email protected] ")" | 125 | [email protected] ";" |
126 | [email protected] ";" | 126 | [email protected] "\n " |
127 | [email protected] "\n " | 127 | [email protected] |
128 | [email protected] | 128 | [email protected] "let" |
129 | [email protected] "let" | 129 | [email protected] " " |
130 | [email protected] " " | 130 | [email protected] |
131 | [email protected] | 131 | [email protected] "(" |
132 | [email protected] "(" | 132 | [email protected] |
133 | [email protected] | 133 | [email protected] ".." |
134 | [email protected] ".." | 134 | [email protected] "," |
135 | [email protected] "," | 135 | [email protected] " " |
136 | [email protected] " " | 136 | [email protected] |
137 | [email protected] | 137 | [email protected] ".." |
138 | [email protected] ".." | 138 | [email protected] ")" |
139 | [email protected] ")" | 139 | [email protected] " " |
140 | [email protected] " " | 140 | [email protected] "=" |
141 | [email protected] "=" | 141 | [email protected] " " |
142 | [email protected] " " | 142 | [email protected] |
143 | [email protected] | 143 | [email protected] "(" |
144 | [email protected] "(" | 144 | [email protected] ")" |
145 | [email protected] ")" | 145 | [email protected] ";" |
146 | [email protected] ";" | 146 | [email protected] "\n " |
147 | [email protected] "\n " | 147 | [email protected] |
148 | [email protected] | 148 | [email protected] "let" |
149 | [email protected] "let" | 149 | [email protected] " " |
150 | [email protected] " " | 150 | [email protected] |
151 | [email protected] | 151 | [email protected] |
152 | [email protected] | 152 | [email protected] |
153 | [email protected] | 153 | [email protected] |
154 | [email protected] | 154 | [email protected] "Tuple" |
155 | [email protected] "Tuple" | 155 | [email protected] "(" |
156 | [email protected] "(" | 156 | [email protected] |
157 | [email protected] | 157 | [email protected] ".." |
158 | [email protected] ".." | 158 | [email protected] "," |
159 | [email protected] "," | 159 | [email protected] " " |
160 | [email protected] " " | 160 | [email protected] |
161 | [email protected] | 161 | [email protected] ".." |
162 | [email protected] ".." | 162 | [email protected] ")" |
163 | [email protected] ")" | 163 | [email protected] " " |
164 | [email protected] " " | 164 | [email protected] "=" |
165 | [email protected] "=" | 165 | [email protected] " " |
166 | [email protected] " " | 166 | [email protected] |
167 | [email protected] | 167 | [email protected] "(" |
168 | [email protected] "(" | 168 | [email protected] ")" |
169 | [email protected] ")" | 169 | [email protected] ";" |
170 | [email protected] ";" | 170 | [email protected] "\n " |
171 | [email protected] "\n " | 171 | [email protected] |
172 | [email protected] | 172 | [email protected] "let" |
173 | [email protected] "let" | 173 | [email protected] " " |
174 | [email protected] " " | 174 | [email protected] |
175 | [email protected] | 175 | [email protected] "(" |
176 | [email protected] "(" | 176 | [email protected] |
177 | [email protected] | 177 | [email protected] ".." |
178 | [email protected] ".." | 178 | [email protected] "," |
179 | [email protected] "," | 179 | [email protected] " " |
180 | [email protected] " " | 180 | [email protected] |
181 | [email protected] | 181 | [email protected] |
182 | [email protected] | 182 | [email protected] "a" |
183 | [email protected] "a" | 183 | [email protected] "," |
184 | [email protected] "," | 184 | [email protected] " " |
185 | [email protected] " " | 185 | [email protected] |
186 | [email protected] | 186 | [email protected] ".." |
187 | [email protected] ".." | 187 | [email protected] ")" |
188 | [email protected] ")" | 188 | [email protected] " " |
189 | [email protected] " " | 189 | [email protected] "=" |
190 | [email protected] "=" | 190 | [email protected] " " |
191 | [email protected] " " | 191 | [email protected] |
192 | [email protected] | 192 | [email protected] "(" |
193 | [email protected] "(" | 193 | [email protected] ")" |
194 | [email protected] ")" | 194 | [email protected] ";" |
195 | [email protected] ";" | 195 | [email protected] "\n " |
196 | [email protected] "\n " | 196 | [email protected] |
197 | [email protected] | 197 | [email protected] "let" |
198 | [email protected] "let" | 198 | [email protected] " " |
199 | [email protected] " " | 199 | [email protected] |
200 | [email protected] | 200 | [email protected] |
201 | [email protected] | 201 | [email protected] |
202 | [email protected] | 202 | [email protected] |
203 | [email protected] | 203 | [email protected] "Tuple" |
204 | [email protected] "Tuple" | 204 | [email protected] "(" |
205 | [email protected] "(" | 205 | [email protected] |
206 | [email protected] | 206 | [email protected] ".." |
207 | [email protected] ".." | 207 | [email protected] "," |
208 | [email protected] "," | 208 | [email protected] " " |
209 | [email protected] " " | 209 | [email protected] |
210 | [email protected] | 210 | [email protected] |
211 | [email protected] | 211 | [email protected] "a" |
212 | [email protected] "a" | 212 | [email protected] "," |
213 | [email protected] "," | 213 | [email protected] " " |
214 | [email protected] " " | 214 | [email protected] |
215 | [email protected] | 215 | [email protected] ".." |
216 | [email protected] ".." | 216 | [email protected] ")" |
217 | [email protected] ")" | 217 | [email protected] " " |
218 | [email protected] " " | 218 | [email protected] "=" |
219 | [email protected] "=" | 219 | [email protected] " " |
220 | [email protected] " " | 220 | [email protected] |
221 | [email protected] | 221 | [email protected] "(" |
222 | [email protected] "(" | 222 | [email protected] ")" |
223 | [email protected] ")" | 223 | [email protected] ";" |
224 | [email protected] ";" | 224 | [email protected] "\n " |
225 | [email protected] "\n " | 225 | [email protected] "//" |
226 | [email protected] "//" | 226 | [email protected] "\n " |
227 | [email protected] "\n " | 227 | [email protected] "// Slices" |
228 | [email protected] "// Slices" | 228 | [email protected] "\n " |
229 | [email protected] "\n " | 229 | [email protected] "//" |
230 | [email protected] "//" | 230 | [email protected] "\n " |
231 | [email protected] "\n " | 231 | [email protected] |
232 | [email protected] | 232 | [email protected] "let" |
233 | [email protected] "let" | 233 | [email protected] " " |
234 | [email protected] " " | 234 | [email protected] |
235 | [email protected] | 235 | [email protected] "[" |
236 | [email protected] "[" | 236 | [email protected] |
237 | [email protected] | 237 | [email protected] ".." |
238 | [email protected] ".." | 238 | [email protected] "]" |
239 | [email protected] "]" | 239 | [email protected] " " |
240 | [email protected] " " | 240 | [email protected] "=" |
241 | [email protected] "=" | 241 | [email protected] " " |
242 | [email protected] " " | 242 | [email protected] |
243 | [email protected] | 243 | [email protected] "(" |
244 | [email protected] "(" | 244 | [email protected] ")" |
245 | [email protected] ")" | 245 | [email protected] ";" |
246 | [email protected] ";" | 246 | [email protected] "\n " |
247 | [email protected] "\n " | 247 | [email protected] |
248 | [email protected] | 248 | [email protected] "let" |
249 | [email protected] "let" | 249 | [email protected] " " |
250 | [email protected] " " | 250 | [email protected] |
251 | [email protected] | 251 | [email protected] "[" |
252 | [email protected] "[" | 252 | [email protected] |
253 | [email protected] | 253 | [email protected] |
254 | [email protected] | 254 | [email protected] "head" |
255 | [email protected] "head" | 255 | [email protected] "," |
256 | [email protected] "," | 256 | [email protected] " " |
257 | [email protected] " " | 257 | [email protected] |
258 | [email protected] | 258 | [email protected] ".." |
259 | [email protected] ".." | 259 | [email protected] "]" |
260 | [email protected] "]" | 260 | [email protected] " " |
261 | [email protected] " " | 261 | [email protected] "=" |
262 | [email protected] "=" | 262 | [email protected] " " |
263 | [email protected] " " | 263 | [email protected] |
264 | [email protected] | 264 | [email protected] "(" |
265 | [email protected] "(" | 265 | [email protected] ")" |
266 | [email protected] ")" | 266 | [email protected] ";" |
267 | [email protected] ";" | 267 | [email protected] "\n " |
268 | [email protected] "\n " | 268 | [email protected] |
269 | [email protected] | 269 | [email protected] "let" |
270 | [email protected] "let" | 270 | [email protected] " " |
271 | [email protected] " " | 271 | [email protected] |
272 | [email protected] | 272 | [email protected] "[" |
273 | [email protected] "[" | 273 | [email protected] |
274 | [email protected] | 274 | [email protected] |
275 | [email protected] | 275 | [email protected] "head" |
276 | [email protected] "head" | 276 | [email protected] "," |
277 | [email protected] "," | 277 | [email protected] " " |
278 | [email protected] " " | 278 | [email protected] |
279 | [email protected] | 279 | [email protected] |
280 | [email protected] | 280 | [email protected] "tail" |
281 | [email protected] "tail" | 281 | [email protected] " " |
282 | [email protected] " " | 282 | [email protected] "@" |
283 | [email protected] "@" | 283 | [email protected] " " |
284 | [email protected] " " | 284 | [email protected] |
285 | [email protected] | 285 | [email protected] ".." |
286 | [email protected] ".." | 286 | [email protected] "]" |
287 | [email protected] "]" | 287 | [email protected] " " |
288 | [email protected] " " | 288 | [email protected] "=" |
289 | [email protected] "=" | 289 | [email protected] " " |
290 | [email protected] " " | 290 | [email protected] |
291 | [email protected] | 291 | [email protected] "(" |
292 | [email protected] "(" | 292 | [email protected] ")" |
293 | [email protected] ")" | 293 | [email protected] ";" |
294 | [email protected] ";" | 294 | [email protected] "\n " |
295 | [email protected] "\n " | 295 | [email protected] |
296 | [email protected] | 296 | [email protected] "let" |
297 | [email protected] "let" | 297 | [email protected] " " |
298 | [email protected] " " | 298 | [email protected] |
299 | [email protected] | 299 | [email protected] "[" |
300 | [email protected] "[" | 300 | [email protected] |
301 | [email protected] | 301 | [email protected] |
302 | [email protected] | 302 | [email protected] "head" |
303 | [email protected] "head" | 303 | [email protected] "," |
304 | [email protected] "," | 304 | [email protected] " " |
305 | [email protected] " " | 305 | [email protected] |
306 | [email protected] | 306 | [email protected] ".." |
307 | [email protected] ".." | 307 | [email protected] "," |
308 | [email protected] "," | 308 | [email protected] " " |
309 | [email protected] " " | 309 | [email protected] |
310 | [email protected] | 310 | [email protected] |
311 | [email protected] | 311 | [email protected] "cons" |
312 | [email protected] "cons" | 312 | [email protected] "]" |
313 | [email protected] "]" | 313 | [email protected] " " |
314 | [email protected] " " | 314 | [email protected] "=" |
315 | [email protected] "=" | 315 | [email protected] " " |
316 | [email protected] " " | 316 | [email protected] |
317 | [email protected] | 317 | [email protected] "(" |
318 | [email protected] "(" | 318 | [email protected] ")" |
319 | [email protected] ")" | 319 | [email protected] ";" |
320 | [email protected] ";" | 320 | [email protected] "\n " |
321 | [email protected] "\n " | 321 | [email protected] |
322 | [email protected] | 322 | [email protected] "let" |
323 | [email protected] "let" | 323 | [email protected] " " |
324 | [email protected] " " | 324 | [email protected] |
325 | [email protected] | 325 | [email protected] "[" |
326 | [email protected] "[" | 326 | [email protected] |
327 | [email protected] | 327 | [email protected] |
328 | [email protected] | 328 | [email protected] "head" |
329 | [email protected] "head" | 329 | [email protected] "," |
330 | [email protected] "," | 330 | [email protected] " " |
331 | [email protected] " " | 331 | [email protected] |
332 | [email protected] | 332 | [email protected] |
333 | [email protected] | 333 | [email protected] "mid" |
334 | [email protected] "mid" | 334 | [email protected] " " |
335 | [email protected] " " | 335 | [email protected] "@" |
336 | [email protected] "@" | 336 | [email protected] " " |
337 | [email protected] " " | 337 | [email protected] |
338 | [email protected] | 338 | [email protected] ".." |
339 | [email protected] ".." | 339 | [email protected] "," |
340 | [email protected] "," | 340 | [email protected] " " |
341 | [email protected] " " | 341 | [email protected] |
342 | [email protected] | 342 | [email protected] |
343 | [email protected] | 343 | [email protected] "cons" |
344 | [email protected] "cons" | 344 | [email protected] "]" |
345 | [email protected] "]" | 345 | [email protected] " " |
346 | [email protected] " " | 346 | [email protected] "=" |
347 | [email protected] "=" | 347 | [email protected] " " |
348 | [email protected] " " | 348 | [email protected] |
349 | [email protected] | 349 | [email protected] "(" |
350 | [email protected] "(" | 350 | [email protected] ")" |
351 | [email protected] ")" | 351 | [email protected] ";" |
352 | [email protected] ";" | 352 | [email protected] "\n " |
353 | [email protected] "\n " | 353 | [email protected] |
354 | [email protected] | 354 | [email protected] "let" |
355 | [email protected] "let" | 355 | [email protected] " " |
356 | [email protected] " " | 356 | [email protected] |
357 | [email protected] | 357 | [email protected] "[" |
358 | [email protected] "[" | 358 | [email protected] |
359 | [email protected] | 359 | [email protected] |
360 | [email protected] | 360 | [email protected] "head" |
361 | [email protected] "head" | 361 | [email protected] "," |
362 | [email protected] "," | 362 | [email protected] " " |
363 | [email protected] " " | 363 | [email protected] |
364 | [email protected] | 364 | [email protected] ".." |
365 | [email protected] ".." | 365 | [email protected] "," |
366 | [email protected] "," | 366 | [email protected] " " |
367 | [email protected] " " | 367 | [email protected] |
368 | [email protected] | 368 | [email protected] ".." |
369 | [email protected] ".." | 369 | [email protected] "," |
370 | [email protected] "," | 370 | [email protected] " " |
371 | [email protected] " " | 371 | [email protected] |
372 | [email protected] | 372 | [email protected] |
373 | [email protected] | 373 | [email protected] "cons" |
374 | [email protected] "cons" | 374 | [email protected] "]" |
375 | [email protected] "]" | 375 | [email protected] " " |
376 | [email protected] " " | 376 | [email protected] "=" |
377 | [email protected] "=" | 377 | [email protected] " " |
378 | [email protected] " " | 378 | [email protected] |
379 | [email protected] | 379 | [email protected] "(" |
380 | [email protected] "(" | 380 | [email protected] ")" |
381 | [email protected] ")" | 381 | [email protected] ";" |
382 | [email protected] ";" | 382 | [email protected] "\n " |
383 | [email protected] "\n " | 383 | [email protected] |
384 | [email protected] | 384 | [email protected] "let" |
385 | [email protected] "let" | 385 | [email protected] " " |
386 | [email protected] " " | 386 | [email protected] |
387 | [email protected] | 387 | [email protected] "[" |
388 | [email protected] "[" | 388 | [email protected] |
389 | [email protected] | 389 | [email protected] |
390 | [email protected] | 390 | [email protected] "head" |
391 | [email protected] "head" | 391 | [email protected] "," |
392 | [email protected] "," | 392 | [email protected] " " |
393 | [email protected] " " | 393 | [email protected] |
394 | [email protected] | 394 | [email protected] ".." |
395 | [email protected] ".." | 395 | [email protected] "," |
396 | [email protected] "," | 396 | [email protected] " " |
397 | [email protected] " " | 397 | [email protected] |
398 | [email protected] | 398 | [email protected] |
399 | [email protected] | 399 | [email protected] "mid" |
400 | [email protected] "mid" | 400 | [email protected] "," |
401 | [email protected] "," | 401 | [email protected] " " |
402 | [email protected] " " | 402 | [email protected] |
403 | [email protected] | 403 | [email protected] |
404 | [email protected] | 404 | [email protected] "tail" |
405 | [email protected] "tail" | 405 | [email protected] " " |
406 | [email protected] " " | 406 | [email protected] "@" |
407 | [email protected] "@" | 407 | [email protected] " " |
408 | [email protected] " " | 408 | [email protected] |
409 | [email protected] | 409 | [email protected] ".." |
410 | [email protected] ".." | 410 | [email protected] "]" |
411 | [email protected] "]" | 411 | [email protected] " " |
412 | [email protected] " " | 412 | [email protected] "=" |
413 | [email protected] "=" | 413 | [email protected] " " |
414 | [email protected] " " | 414 | [email protected] |
415 | [email protected] | 415 | [email protected] "(" |
416 | [email protected] "(" | 416 | [email protected] ")" |
417 | [email protected] ")" | 417 | [email protected] ";" |
418 | [email protected] ";" | 418 | [email protected] "\n " |
419 | [email protected] "\n " | 419 | [email protected] |
420 | [email protected] | 420 | [email protected] "let" |
421 | [email protected] "let" | 421 | [email protected] " " |
422 | [email protected] " " | 422 | [email protected] |
423 | [email protected] | 423 | [email protected] "[" |
424 | [email protected] "[" | 424 | [email protected] |
425 | [email protected] | 425 | [email protected] |
426 | [email protected] | 426 | [email protected] "head" |
427 | [email protected] "head" | 427 | [email protected] "," |
428 | [email protected] "," | 428 | [email protected] " " |
429 | [email protected] " " | 429 | [email protected] |
430 | [email protected] | 430 | [email protected] ".." |
431 | [email protected] ".." | 431 | [email protected] "," |
432 | [email protected] "," | 432 | [email protected] " " |
433 | [email protected] " " | 433 | [email protected] |
434 | [email protected] | 434 | [email protected] |
435 | [email protected] | 435 | [email protected] "mid" |
436 | [email protected] "mid" | 436 | [email protected] "," |
437 | [email protected] "," | 437 | [email protected] " " |
438 | [email protected] " " | 438 | [email protected] |
439 | [email protected] | 439 | [email protected] ".." |
440 | [email protected] ".." | 440 | [email protected] "," |
441 | [email protected] "," | 441 | [email protected] " " |
442 | [email protected] " " | 442 | [email protected] |
443 | [email protected] | 443 | [email protected] |
444 | [email protected] | 444 | [email protected] "cons" |
445 | [email protected] "cons" | 445 | [email protected] "]" |
446 | [email protected] "]" | 446 | [email protected] " " |
447 | [email protected] " " | 447 | [email protected] "=" |
448 | [email protected] "=" | 448 | [email protected] " " |
449 | [email protected] " " | 449 | [email protected] |
450 | [email protected] | 450 | [email protected] "(" |
451 | [email protected] "(" | 451 | [email protected] ")" |
452 | [email protected] ")" | 452 | [email protected] ";" |
453 | [email protected] ";" | 453 | [email protected] "\n" |
454 | [email protected] "\n" | 454 | [email protected] "}" |
455 | [email protected] "}" | ||
456 | [email protected] "\n" | 455 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast index 10434b637..7c092d518 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast | |||
@@ -9,68 +9,67 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "S" |
22 | [email protected] "S" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "{" |
25 | [email protected] "{" | 25 | [email protected] " " |
26 | [email protected] " " | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "0" |
29 | [email protected] "0" | 29 | [email protected] ":" |
30 | [email protected] ":" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] "1" |
34 | [email protected] "1" | 34 | [email protected] " " |
35 | [email protected] " " | 35 | [email protected] "}" |
36 | [email protected] "}" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] "=" |
38 | [email protected] "=" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "(" |
41 | [email protected] "(" | 41 | [email protected] ")" |
42 | [email protected] ")" | 42 | [email protected] ";" |
43 | [email protected] ";" | 43 | [email protected] "\n " |
44 | [email protected] "\n " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] "let" |
46 | [email protected] "let" | 46 | [email protected] " " |
47 | [email protected] " " | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "S" |
52 | [email protected] "S" | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "{" |
55 | [email protected] "{" | 55 | [email protected] " " |
56 | [email protected] " " | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] "x" |
59 | [email protected] "x" | 59 | [email protected] ":" |
60 | [email protected] ":" | 60 | [email protected] " " |
61 | [email protected] " " | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] "1" |
64 | [email protected] "1" | 64 | [email protected] " " |
65 | [email protected] " " | 65 | [email protected] "}" |
66 | [email protected] "}" | 66 | [email protected] " " |
67 | [email protected] " " | 67 | [email protected] "=" |
68 | [email protected] "=" | 68 | [email protected] " " |
69 | [email protected] " " | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] "(" |
71 | [email protected] "(" | 71 | [email protected] ")" |
72 | [email protected] ")" | 72 | [email protected] ";" |
73 | [email protected] ";" | 73 | [email protected] "\n" |
74 | [email protected] "\n" | 74 | [email protected] "}" |
75 | [email protected] "}" | ||
76 | [email protected] "\n" | 75 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast b/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast index 66ad546b9..8382a4f96 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast | |||
@@ -9,35 +9,34 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "_" |
19 | [email protected] "_" | 19 | [email protected] " " |
20 | [email protected] " " | 20 | [email protected] "=" |
21 | [email protected] "=" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "&" |
25 | [email protected] "&" | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "1" |
27 | [email protected] "1" | 27 | [email protected] " " |
28 | [email protected] " " | 28 | [email protected] "as" |
29 | [email protected] "as" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "*" |
32 | [email protected] "*" | 32 | [email protected] "const" |
33 | [email protected] "const" | 33 | [email protected] " " |
34 | [email protected] " " | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] "i32" |
39 | [email protected] "i32" | 39 | [email protected] ";" |
40 | [email protected] ";" | 40 | [email protected] "\n" |
41 | [email protected] "\n" | 41 | [email protected] "}" |
42 | [email protected] "}" | ||
43 | [email protected] "\n" | 42 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast index c2e290a62..f43dfbe63 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast | |||
@@ -9,29 +9,28 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "foo" |
20 | [email protected] "foo" | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] "(" |
22 | [email protected] "(" | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] "#" |
25 | [email protected] "#" | 25 | [email protected] "[" |
26 | [email protected] "[" | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "attr" |
30 | [email protected] "attr" | 30 | [email protected] "]" |
31 | [email protected] "]" | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] "92" |
33 | [email protected] "92" | 33 | [email protected] ")" |
34 | [email protected] ")" | 34 | [email protected] "\n" |
35 | [email protected] "\n" | 35 | [email protected] "}" |
36 | [email protected] "}" | ||
37 | [email protected] "\n" | 36 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast index dad3dfe4d..ecac05950 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast | |||
@@ -9,62 +9,61 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "let" |
16 | [email protected] "let" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] "foo" |
20 | [email protected] "foo" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] "=" |
22 | [email protected] "=" | 22 | [email protected] " " |
23 | [email protected] " " | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] "|" |
26 | [email protected] "|" | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "bar" |
30 | [email protected] "bar" | 30 | [email protected] "," |
31 | [email protected] "," | 31 | [email protected] " " |
32 | [email protected] " " | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] "baz" |
36 | [email protected] "baz" | 36 | [email protected] ":" |
37 | [email protected] ":" | 37 | [email protected] " " |
38 | [email protected] " " | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] "Baz" |
43 | [email protected] "Baz" | 43 | [email protected] "," |
44 | [email protected] "," | 44 | [email protected] " " |
45 | [email protected] " " | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "qux" |
49 | [email protected] "qux" | 49 | [email protected] ":" |
50 | [email protected] ":" | 50 | [email protected] " " |
51 | [email protected] " " | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "Qux" |
57 | [email protected] "Qux" | 57 | [email protected] "::" |
58 | [email protected] "::" | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] "Quux" |
61 | [email protected] "Quux" | 61 | [email protected] "|" |
62 | [email protected] "|" | 62 | [email protected] " " |
63 | [email protected] " " | 63 | [email protected] |
64 | [email protected] | 64 | [email protected] "(" |
65 | [email protected] "(" | 65 | [email protected] ")" |
66 | [email protected] ")" | 66 | [email protected] ";" |
67 | [email protected] ";" | 67 | [email protected] "\n" |
68 | [email protected] "\n" | 68 | [email protected] "}" |
69 | [email protected] "}" | ||
70 | [email protected] "\n" | 69 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast index 3110bf5c0..092833417 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast | |||
@@ -38,7 +38,6 @@ [email protected] | |||
38 | [email protected] ")" | 38 | [email protected] ")" |
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] "{" |
42 | [email protected] "{" | 42 | [email protected] "}" |
43 | [email protected] "}" | ||
44 | [email protected] "\n" | 43 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast b/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast index 3f3e6a9a2..88d512f1a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast | |||
@@ -9,104 +9,103 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] "match" |
16 | [email protected] "match" | 16 | [email protected] " " |
17 | [email protected] " " | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "(" |
19 | [email protected] "(" | 19 | [email protected] ")" |
20 | [email protected] ")" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "{" |
23 | [email protected] "{" | 23 | [email protected] "\n " |
24 | [email protected] "\n " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "(" |
27 | [email protected] "(" | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] "_" |
30 | [email protected] "_" | 30 | [email protected] " " |
31 | [email protected] " " | 31 | [email protected] "|" |
32 | [email protected] "|" | 32 | [email protected] " " |
33 | [email protected] " " | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "_" |
35 | [email protected] "_" | 35 | [email protected] ")" |
36 | [email protected] ")" | 36 | [email protected] " " |
37 | [email protected] " " | 37 | [email protected] "=>" |
38 | [email protected] "=>" | 38 | [email protected] " " |
39 | [email protected] " " | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] "(" |
41 | [email protected] "(" | 41 | [email protected] ")" |
42 | [email protected] ")" | 42 | [email protected] "," |
43 | [email protected] "," | 43 | [email protected] "\n " |
44 | [email protected] "\n " | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] "&" |
47 | [email protected] "&" | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] "(" |
49 | [email protected] "(" | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] "_" |
52 | [email protected] "_" | 52 | [email protected] " " |
53 | [email protected] " " | 53 | [email protected] "|" |
54 | [email protected] "|" | 54 | [email protected] " " |
55 | [email protected] " " | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] "_" |
57 | [email protected] "_" | 57 | [email protected] ")" |
58 | [email protected] ")" | 58 | [email protected] " " |
59 | [email protected] " " | 59 | [email protected] "=>" |
60 | [email protected] "=>" | 60 | [email protected] " " |
61 | [email protected] " " | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] "(" |
63 | [email protected] "(" | 63 | [email protected] ")" |
64 | [email protected] ")" | 64 | [email protected] "," |
65 | [email protected] "," | 65 | [email protected] "\n " |
66 | [email protected] "\n " | 66 | [email protected] |
67 | [email protected] | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] "(" |
69 | [email protected] "(" | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] "_" |
72 | [email protected] "_" | 72 | [email protected] " " |
73 | [email protected] " " | 73 | [email protected] "|" |
74 | [email protected] "|" | 74 | [email protected] " " |
75 | [email protected] " " | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] "_" |
77 | [email protected] "_" | 77 | [email protected] "," |
78 | [email protected] "," | 78 | [email protected] ")" |
79 | [email protected] ")" | 79 | [email protected] " " |
80 | [email protected] " " | 80 | [email protected] "=>" |
81 | [email protected] "=>" | 81 | [email protected] " " |
82 | [email protected] " " | 82 | [email protected] |
83 | [email protected] | 83 | [email protected] "(" |
84 | [email protected] "(" | 84 | [email protected] ")" |
85 | [email protected] ")" | 85 | [email protected] "," |
86 | [email protected] "," | 86 | [email protected] "\n " |
87 | [email protected] "\n " | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] "[" |
90 | [email protected] "[" | 90 | [email protected] |
91 | [email protected] | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] "_" |
93 | [email protected] "_" | 93 | [email protected] " " |
94 | [email protected] " " | 94 | [email protected] "|" |
95 | [email protected] "|" | 95 | [email protected] " " |
96 | [email protected] " " | 96 | [email protected] |
97 | [email protected] | 97 | [email protected] "_" |
98 | [email protected] "_" | 98 | [email protected] "," |
99 | [email protected] "," | 99 | [email protected] "]" |
100 | [email protected] "]" | 100 | [email protected] " " |
101 | [email protected] " " | 101 | [email protected] "=>" |
102 | [email protected] "=>" | 102 | [email protected] " " |
103 | [email protected] " " | 103 | [email protected] |
104 | [email protected] | 104 | [email protected] "(" |
105 | [email protected] "(" | 105 | [email protected] ")" |
106 | [email protected] ")" | 106 | [email protected] "," |
107 | [email protected] "," | 107 | [email protected] "\n " |
108 | [email protected] "\n " | 108 | [email protected] "}" |
109 | [email protected] "}" | 109 | [email protected] "\n" |
110 | [email protected] "\n" | 110 | [email protected] "}" |
111 | [email protected] "}" | ||
112 | [email protected] "\n" | 111 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast b/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast index 50db9e967..bd9e8d40f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast | |||
@@ -9,30 +9,28 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] "\n " |
14 | [email protected] "\n " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] "v" |
21 | [email protected] "v" | 21 | [email protected] " " |
22 | [email protected] " " | 22 | [email protected] "=" |
23 | [email protected] "=" | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] "{" |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "{" | 28 | [email protected] "1" |
29 | [email protected] | 29 | [email protected] "}" |
30 | [email protected] "1" | 30 | [email protected] "&" |
31 | [email protected] "}" | 31 | [email protected] |
32 | [email protected] "&" | 32 | [email protected] "2" |
33 | [email protected] | 33 | [email protected] ";" |
34 | [email protected] "2" | 34 | [email protected] "\n" |
35 | [email protected] ";" | 35 | [email protected] "}" |
36 | [email protected] "\n" | ||
37 | [email protected] "}" | ||
38 | [email protected] "\n" | 36 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast index c05e05bf3..08333a325 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast | |||
@@ -9,37 +9,35 @@ [email protected] | |||
9 | [email protected] ")" | 9 | [email protected] ")" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] "{" |
13 | [email protected] "{" | 13 | [email protected] " " |
14 | [email protected] " " | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] "|" |
19 | [email protected] "|" | 19 | [email protected] "|" |
20 | [email protected] "|" | 20 | [email protected] " " |
21 | [email protected] " " | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] "->" |
23 | [email protected] "->" | 23 | [email protected] " " |
24 | [email protected] " " | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] "i32" |
29 | [email protected] "i32" | 29 | [email protected] " " |
30 | [email protected] " " | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] "{" |
32 | [email protected] | 32 | [email protected] " " |
33 | [email protected] "{" | 33 | [email protected] |
34 | [email protected] " " | 34 | [email protected] "92" |
35 | [email protected] | 35 | [email protected] " " |
36 | [email protected] "92" | 36 | [email protected] "}" |
37 | [email protected] " " | 37 | [email protected] |
38 | [email protected] "}" | 38 | [email protected] "(" |
39 | [email protected] | 39 | [email protected] ")" |
40 | [email protected] "(" | 40 | [email protected] ";" |
41 | [email protected] ")" | 41 | [email protected] " " |
42 | [email protected] ";" | 42 | [email protected] "}" |
43 | [email protected] " " | ||
44 | [email protected] "}" | ||
45 | [email protected] "\n" | 43 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast b/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast new file mode 100644 index 000000000..5f09e4f4a --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast | |||
@@ -0,0 +1,34 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] "fn" | ||
4 | [email protected] " " | ||
5 | [email protected] | ||
6 | [email protected] "foo" | ||
7 | [email protected] | ||
8 | [email protected] "(" | ||
9 | [email protected] ")" | ||
10 | [email protected] " " | ||
11 | [email protected] | ||
12 | [email protected] "{" | ||
13 | [email protected] " " | ||
14 | [email protected] | ||
15 | [email protected] | ||
16 | [email protected] | ||
17 | [email protected] | ||
18 | [email protected] | ||
19 | [email protected] "try" | ||
20 | [email protected] "!" | ||
21 | [email protected] | ||
22 | [email protected] "(" | ||
23 | [email protected] "Ok" | ||
24 | [email protected] | ||
25 | [email protected] "(" | ||
26 | [email protected] | ||
27 | [email protected] "(" | ||
28 | [email protected] ")" | ||
29 | [email protected] ")" | ||
30 | [email protected] ")" | ||
31 | [email protected] ";" | ||
32 | [email protected] " " | ||
33 | [email protected] "}" | ||
34 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rs b/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rs new file mode 100644 index 000000000..61a6b46a0 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rs | |||
@@ -0,0 +1 @@ | |||
fn foo() { try!(Ok(())); } | |||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast b/crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast new file mode 100644 index 000000000..05b89d1c3 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast | |||
@@ -0,0 +1,27 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] | ||
4 | [email protected] | ||
5 | [email protected] | ||
6 | [email protected] "macro_rules" | ||
7 | [email protected] "!" | ||
8 | [email protected] " " | ||
9 | [email protected] | ||
10 | [email protected] "try" | ||
11 | [email protected] " " | ||
12 | [email protected] | ||
13 | [email protected] "{" | ||
14 | [email protected] " " | ||
15 | [email protected] | ||
16 | [email protected] "(" | ||
17 | [email protected] ")" | ||
18 | [email protected] " " | ||
19 | [email protected] "=" | ||
20 | [email protected] ">" | ||
21 | [email protected] " " | ||
22 | [email protected] | ||
23 | [email protected] "{" | ||
24 | [email protected] "}" | ||
25 | [email protected] " " | ||
26 | [email protected] "}" | ||
27 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rs b/crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rs new file mode 100644 index 000000000..2e2ab6e60 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rs | |||
@@ -0,0 +1 @@ | |||
macro_rules! try { () => {} } | |||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast new file mode 100644 index 000000000..9efebd8b8 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast | |||
@@ -0,0 +1,26 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] "fn" | ||
4 | [email protected] " " | ||
5 | [email protected] | ||
6 | [email protected] "f" | ||
7 | [email protected] | ||
8 | [email protected] "(" | ||
9 | [email protected] ")" | ||
10 | [email protected] " " | ||
11 | [email protected] | ||
12 | [email protected] "{" | ||
13 | [email protected] " " | ||
14 | [email protected] | ||
15 | [email protected] | ||
16 | [email protected] | ||
17 | [email protected] "\'label" | ||
18 | [email protected] ":" | ||
19 | [email protected] " " | ||
20 | [email protected] | ||
21 | [email protected] "{" | ||
22 | [email protected] "}" | ||
23 | [email protected] ";" | ||
24 | [email protected] " " | ||
25 | [email protected] "}" | ||
26 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rs b/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rs new file mode 100644 index 000000000..18b4ff4b1 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rs | |||
@@ -0,0 +1 @@ | |||
fn f() { 'label: {}; } | |||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast new file mode 100644 index 000000000..4991f2c36 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast | |||
@@ -0,0 +1,23 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] "fn" | ||
4 | [email protected] " " | ||
5 | [email protected] | ||
6 | [email protected] "f" | ||
7 | [email protected] | ||
8 | [email protected] "(" | ||
9 | [email protected] ")" | ||
10 | [email protected] " " | ||
11 | [email protected] | ||
12 | [email protected] "{" | ||
13 | [email protected] " " | ||
14 | [email protected] | ||
15 | [email protected] "unsafe" | ||
16 | [email protected] " " | ||
17 | [email protected] | ||
18 | [email protected] "{" | ||
19 | [email protected] " " | ||
20 | [email protected] "}" | ||
21 | [email protected] " " | ||
22 | [email protected] "}" | ||
23 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rs b/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rs new file mode 100644 index 000000000..dfb9b2a1c --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rs | |||
@@ -0,0 +1 @@ | |||
fn f() { unsafe { } } | |||