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
0002_struct_item_field.rs
0002_struct_item_field.txt
0004_file_shebang.rs
0004_file_shebang.txt
0005_fn_item.rs
0005_fn_item.txt
0006_inner_attributes.rs
0006_inner_attributes.txt
0007_extern_crate.rs
0007_extern_crate.txt
0008_mod_item.rs
0008_mod_item.txt
0009_use_item.rs
0009_use_item.txt
0010_use_path_segments.rs
0010_use_path_segments.txt
0011_outer_attribute.rs
0011_outer_attribute.txt
0012_visibility.rs
0012_visibility.txt
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
0017_attr_trailing_comma.rs
0017_attr_trailing_comma.txt
0018_struct_type_params.rs
0018_struct_type_params.txt
0019_enums.rs
0019_enums.txt
0020_type_param_bounds.rs
0020_type_param_bounds.txt
0021_extern_fn.rs
0021_extern_fn.txt
0022_empty_extern_block.rs
0022_empty_extern_block.txt
0023_static_items.rs
0023_static_items.txt
0024_const_item.rs
0024_const_item.txt
0025_extern_fn_in_block.rs
0025_extern_fn_in_block.txt
0026_const_fn_in_block.rs
0026_const_fn_in_block.txt
0027_unsafe_fn_in_block.rs
0027_unsafe_fn_in_block.txt
0028_operator_binding_power.rs
0028_operator_binding_power.txt
0029_range_forms.rs
0029_range_forms.txt
0030_string_suffixes.rs
0030_string_suffixes.txt
0030_traits.rs
0030_traits.txt
0031_extern.rs
0031_extern.txt
0032_where_for.rs
0032_where_for.txt
0033_label_break.rs
0033_label_break.txt
0034_crate_path_in_call.rs
0034_crate_path_in_call.txt
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
0037_mod.rs
0037_mod.txt
0038_where_pred_type.rs
0038_where_pred_type.txt
0039_raw_fn_item.rs
0039_raw_fn_item.txt
0040_raw_struct_item_field.rs
0040_raw_struct_item_field.txt
0041_raw_keywords.rs
0041_raw_keywords.txt
0042_ufcs_call_list.rs
0042_ufcs_call_list.txt
0043_complex_assignment.rs
0043_complex_assignment.txt
0044_let_attrs.rs
0044_let_attrs.txt
0045_block_inner_attrs.rs
0045_block_inner_attrs.txt
0046_extern_inner_attributes.rs
0046_extern_inner_attributes.txt
0047_minus_in_inner_pattern.rs
0047_minus_in_inner_pattern.txt
0048_compound_assignment.rs
0048_compound_assignment.txt
0049_async_block.rs
0049_async_block.txt
0050_async_block_as_argument.rs
0050_async_block_as_argument.txt
0051_parameter_attrs.rs
0051_parameter_attrs.txt
0052_for_range_block.rs
0052_for_range_block.txt
0053_outer_attribute_on_macro_rules.rs
0053_outer_attribute_on_macro_rules.txt
0054_qual_path_in_type_arg.rs
0054_qual_path_in_type_arg.txt
0055_dot_dot_dot.rs
0055_dot_dot_dot.txt
0056_neq_in_type.rs
0056_neq_in_type.txt
0057_loop_in_call.rs
0057_loop_in_call.txt
0058_unary_expr_precedence.rs
0058_unary_expr_precedence.txt
0059_loops_in_parens.rs
0059_loops_in_parens.txt
0060_as_range.rs
0060_as_range.txt
0061_match_full_range.rs
0061_match_full_range.txt