rust/crates/ra_syntax/test_data/parser/ok
Aleksey Kladov e1c0bdaf75 Introduce dedicated AST node for union
Although structs and unions have the same syntax and differ only in
the keyword, re-using the single syntax node for both of them leads to
confusion in practice, and propagates further down the hir in an
upleasent way.

Moreover, static and consts also share syntax, but we use different
nodes for them.
2019-11-25 17:50:49 +03:00
..
0000_empty.rs
0000_empty.txt
0001_struct_item.rs
0001_struct_item.txt rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
0002_struct_item_field.rs
0002_struct_item_field.txt rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
0004_file_shebang.rs
0004_file_shebang.txt
0005_fn_item.rs
0005_fn_item.txt update test data 2019-09-02 20:15:51 +03:00
0006_inner_attributes.rs
0006_inner_attributes.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0007_extern_crate.rs
0007_extern_crate.txt
0008_mod_item.rs
0008_mod_item.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0009_use_item.rs
0009_use_item.txt
0010_use_path_segments.rs
0010_use_path_segments.txt
0011_outer_attribute.rs Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0011_outer_attribute.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0012_visibility.rs
0012_visibility.txt update test data 2019-09-02 20:15:51 +03:00
0013_use_path_self_super.rs
0013_use_path_self_super.txt
0014_use_tree.rs
0014_use_tree.txt
0015_use_tree.rs
0015_use_tree.txt
0016_struct_flavors.rs
0016_struct_flavors.txt rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
0017_attr_trailing_comma.rs
0017_attr_trailing_comma.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0018_struct_type_params.rs
0018_struct_type_params.txt rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
0019_enums.rs
0019_enums.txt rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
0020_type_param_bounds.rs
0020_type_param_bounds.txt
0021_extern_fn.rs
0021_extern_fn.txt update test data 2019-09-02 20:15:51 +03:00
0022_empty_extern_block.rs
0022_empty_extern_block.txt
0023_static_items.rs
0023_static_items.txt
0024_const_item.rs Add tests for underscores in const and static items 2019-09-14 16:31:09 -07:00
0024_const_item.txt Add tests for underscores in const and static items 2019-09-14 16:31:09 -07:00
0025_extern_fn_in_block.rs
0025_extern_fn_in_block.txt update test data 2019-09-02 20:15:51 +03:00
0026_const_fn_in_block.rs
0026_const_fn_in_block.txt update test data 2019-09-02 20:15:51 +03:00
0027_unsafe_fn_in_block.rs
0027_unsafe_fn_in_block.txt update test data 2019-09-02 20:15:51 +03:00
0028_operator_binding_power.rs
0028_operator_binding_power.txt update test data 2019-09-02 20:15:51 +03:00
0029_range_forms.rs
0029_range_forms.txt update test data 2019-09-02 20:15:51 +03:00
0030_string_suffixes.rs
0030_string_suffixes.txt update test data 2019-09-02 20:15:51 +03:00
0030_traits.rs
0030_traits.txt
0031_extern.rs
0031_extern.txt
0032_where_for.rs
0032_where_for.txt update test data 2019-09-02 20:15:51 +03:00
0033_label_break.rs
0033_label_break.txt update test data 2019-09-02 20:15:51 +03:00
0034_crate_path_in_call.rs
0034_crate_path_in_call.txt update test data 2019-09-02 20:15:51 +03:00
0035_weird_exprs.rs
0035_weird_exprs.txt Introduce dedicated AST node for union 2019-11-25 17:50:49 +03:00
0036_fully_qualified.rs
0036_fully_qualified.txt update test data 2019-09-02 20:15:51 +03:00
0037_mod.rs
0037_mod.txt
0038_where_pred_type.rs
0038_where_pred_type.txt update test data 2019-09-02 20:15:51 +03:00
0039_raw_fn_item.rs
0039_raw_fn_item.txt update test data 2019-09-02 20:15:51 +03:00
0040_raw_struct_item_field.rs
0040_raw_struct_item_field.txt rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
0041_raw_keywords.rs
0041_raw_keywords.txt update test data 2019-09-02 20:15:51 +03:00
0042_ufcs_call_list.rs
0042_ufcs_call_list.txt update test data 2019-09-02 20:15:51 +03:00
0043_complex_assignment.rs
0043_complex_assignment.txt update test data 2019-09-02 20:15:51 +03:00
0044_let_attrs.rs
0044_let_attrs.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0045_block_inner_attrs.rs
0045_block_inner_attrs.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0046_extern_inner_attributes.rs
0046_extern_inner_attributes.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0047_minus_in_inner_pattern.rs
0047_minus_in_inner_pattern.txt update test data 2019-09-02 20:15:51 +03:00
0048_compound_assignment.rs
0048_compound_assignment.txt update test data 2019-09-02 20:15:51 +03:00
0049_async_block.rs
0049_async_block.txt update test data 2019-09-02 20:15:51 +03:00
0050_async_block_as_argument.rs
0050_async_block_as_argument.txt update test data 2019-09-02 20:15:51 +03:00
0051_parameter_attrs.rs
0051_parameter_attrs.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0052_for_range_block.rs fix test position 2019-08-14 21:20:04 +08:00
0052_for_range_block.txt update test data 2019-09-02 20:15:51 +03:00
0053_outer_attribute_on_macro_rules.rs Fix outer doc-comments of macro_rules 2019-09-09 11:13:14 +08:00
0053_outer_attribute_on_macro_rules.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0054_qual_path_in_type_arg.rs WIP: switch to fully decomposed tokens internally 2019-09-10 15:46:39 +03:00
0054_qual_path_in_type_arg.txt WIP: switch to fully decomposed tokens internally 2019-09-10 15:46:39 +03:00
0055_dot_dot_dot.rs add a jointness parser tests 2019-09-10 15:57:51 +03:00
0055_dot_dot_dot.txt add a jointness parser tests 2019-09-10 15:57:51 +03:00
0056_neq_in_type.rs don't confuse macro with != 2019-09-20 16:23:24 +03:00
0056_neq_in_type.txt don't confuse macro with != 2019-09-20 16:23:24 +03:00
0057_loop_in_call.rs Support loop as argument 2019-09-20 16:35:29 -04:00
0057_loop_in_call.txt Support loop as argument 2019-09-20 16:35:29 -04:00
0058_unary_expr_precedence.rs Move tests around 2019-10-05 16:33:05 -07:00
0058_unary_expr_precedence.txt Move tests around 2019-10-05 16:33:05 -07:00
0059_loops_in_parens.rs fix parsing of for loops inside expressions 2019-10-28 15:41:34 +03:00
0059_loops_in_parens.txt fix parsing of for loops inside expressions 2019-10-28 15:41:34 +03:00
0060_as_range.rs Fix parsing of "postfix" range expressions. 2019-11-15 00:18:28 -08:00
0060_as_range.txt Fix parsing of "postfix" range expressions. 2019-11-15 00:18:28 -08:00
0061_match_full_range.rs Fix parsing of "postfix" range expressions. 2019-11-15 00:18:28 -08:00
0061_match_full_range.txt Fix parsing of "postfix" range expressions. 2019-11-15 00:18:28 -08:00