diff options
Diffstat (limited to 'crates/syntax/test_data/parser/ok')
-rw-r--r-- | crates/syntax/test_data/parser/ok/0068_item_modifiers.rast | 16 | ||||
-rw-r--r-- | crates/syntax/test_data/parser/ok/0068_item_modifiers.rs | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/crates/syntax/test_data/parser/ok/0068_item_modifiers.rast b/crates/syntax/test_data/parser/ok/0068_item_modifiers.rast index 50a6d8ee9..87eebf185 100644 --- a/crates/syntax/test_data/parser/ok/0068_item_modifiers.rast +++ b/crates/syntax/test_data/parser/ok/0068_item_modifiers.rast | |||
@@ -1,4 +1,4 @@ | |||
1 | SOURCE_FILE@0..304 | 1 | SOURCE_FILE@0..328 |
2 | FN@0..17 | 2 | FN@0..17 |
3 | ASYNC_KW@0..5 "async" | 3 | ASYNC_KW@0..5 "async" |
4 | WHITESPACE@5..6 " " | 4 | WHITESPACE@5..6 " " |
@@ -215,4 +215,16 @@ SOURCE_FILE@0..304 | |||
215 | ASSOC_ITEM_LIST@301..303 | 215 | ASSOC_ITEM_LIST@301..303 |
216 | L_CURLY@301..302 "{" | 216 | L_CURLY@301..302 "{" |
217 | R_CURLY@302..303 "}" | 217 | R_CURLY@302..303 "}" |
218 | WHITESPACE@303..304 "\n" | 218 | WHITESPACE@303..305 "\n\n" |
219 | EXTERN_BLOCK@305..327 | ||
220 | UNSAFE_KW@305..311 "unsafe" | ||
221 | WHITESPACE@311..312 " " | ||
222 | ABI@312..324 | ||
223 | EXTERN_KW@312..318 "extern" | ||
224 | WHITESPACE@318..319 " " | ||
225 | STRING@319..324 "\"C++\"" | ||
226 | WHITESPACE@324..325 " " | ||
227 | EXTERN_ITEM_LIST@325..327 | ||
228 | L_CURLY@325..326 "{" | ||
229 | R_CURLY@326..327 "}" | ||
230 | WHITESPACE@327..328 "\n" | ||
diff --git a/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs b/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs index 8d697c04b..6d27a082c 100644 --- a/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs +++ b/crates/syntax/test_data/parser/ok/0068_item_modifiers.rs | |||
@@ -14,3 +14,5 @@ unsafe auto trait T {} | |||
14 | unsafe impl Foo {} | 14 | unsafe impl Foo {} |
15 | default impl Foo {} | 15 | default impl Foo {} |
16 | unsafe default impl Foo {} | 16 | unsafe default impl Foo {} |
17 | |||
18 | unsafe extern "C++" {} | ||