rust-analyzer/crates/syntax/test_data/parser/inline/ok
Aleksey Kladov 2bf81922f7 internal: more reasonable grammar for blocks
Consider these expples

        { 92 }
  async { 92 }
    'a: { 92 }
   #[a] { 92 }

Previously the tree for them were

  BLOCK_EXPR
    { ... }

  EFFECT_EXPR
    async
    BLOCK_EXPR
      { ... }

  EFFECT_EXPR
    'a:
    BLOCK_EXPR
      { ... }

  BLOCK_EXPR
    #[a]
    { ... }

As you see, it gets progressively worse :) The last two items are
especially odd. The last one even violates the balanced curleys
invariant we have (#10357) The new approach is to say that the stuff in
`{}` is stmt_list, and the block is stmt_list + optional modifiers

  BLOCK_EXPR
    STMT_LIST
      { ... }

  BLOCK_EXPR
    async
    STMT_LIST
      { ... }

  BLOCK_EXPR
    'a:
    STMT_LIST
      { ... }

  BLOCK_EXPR
    #[a]
    STMT_LIST
      { ... }
2021-09-26 19:16:09 +03:00
..
0002_use_tree_list.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0002_use_tree_list.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0003_where_pred_for.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0003_where_pred_for.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0004_value_parameters_no_patterns.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0004_value_parameters_no_patterns.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0005_function_type_params.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0005_function_type_params.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0006_self_param.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0006_self_param.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0007_type_param_bounds.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0007_type_param_bounds.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0008_path_part.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0008_path_part.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0009_loop_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0009_loop_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0010_extern_block.rast internal: improve style 2021-08-30 15:55:40 +03:00
0010_extern_block.rs internal: improve style 2021-08-30 15:55:40 +03:00
0011_field_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0011_field_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0012_type_item_where_clause.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0012_type_item_where_clause.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0013_pointer_type_mut.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0013_pointer_type_mut.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0014_never_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0014_never_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0015_continue_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0015_continue_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0017_array_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0017_array_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0018_arb_self_types.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0018_arb_self_types.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0019_unary_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0019_unary_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0021_assoc_item_list.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0021_assoc_item_list.rs internal: parser cleanups 2021-09-18 14:53:46 +03:00
0022_crate_visibility.rast Wrap remaining self/super/crate in Name{Ref} 2021-01-15 22:18:43 +01:00
0022_crate_visibility.rs Wrap remaining self/super/crate in Name{Ref} 2021-01-15 22:18:43 +01:00
0023_placeholder_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0023_placeholder_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0024_slice_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0024_slice_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0025_slice_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0025_slice_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0026_tuple_pat_fields.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0026_tuple_pat_fields.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0027_ref_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0027_ref_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0028_impl_trait_type.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0028_impl_trait_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0029_cast_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0029_cast_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0030_cond.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0030_cond.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0031_while_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0031_while_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0032_fn_pointer_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0032_fn_pointer_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0033_reference_type;.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0033_reference_type;.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0034_break_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0034_break_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0037_qual_paths.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0037_qual_paths.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0038_full_range_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0038_full_range_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0040_crate_keyword_vis.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0040_crate_keyword_vis.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0041_trait_item.rast internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0041_trait_item.rs internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0042_call_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0042_call_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0044_block_items.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0044_block_items.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0045_param_list_opt_patterns.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0045_param_list_opt_patterns.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0046_singleton_tuple_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0046_singleton_tuple_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0048_path_type_with_bounds.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0048_path_type_with_bounds.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0050_fn_decl.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0050_fn_decl.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0051_unit_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0051_unit_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0052_path_type.rast Handle self/super/crate in PathSegment as NameRef 2021-01-15 19:21:23 +01:00
0052_path_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0053_path_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0053_path_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0054_record_field_attrs.rast internal: cleanup adt parsing 2021-09-18 00:50:27 +03:00
0054_record_field_attrs.rs internal: cleanup adt parsing 2021-09-18 00:50:27 +03:00
0055_literal_pattern.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0055_literal_pattern.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0056_where_clause.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0056_where_clause.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0058_range_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0058_range_pat.rs Support exclusive_range_pattern 2021-08-03 21:36:29 -07:00
0059_match_arms_commas.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0059_match_arms_commas.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0060_extern_crate.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0060_extern_crate.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0061_record_lit.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0061_record_lit.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0062_mod_contents.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0062_mod_contents.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0063_impl_item_neg.rast internal: parser cleanups 2021-09-18 14:53:46 +03:00
0063_impl_item_neg.rs internal: parser cleanups 2021-09-18 14:53:46 +03:00
0064_if_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0064_if_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0065_dyn_trait_type.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0065_dyn_trait_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0066_match_arm.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0066_match_arm.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0067_crate_path.rast Handle self/super/crate in PathSegment as NameRef 2021-01-15 19:21:23 +01:00
0067_crate_path.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0070_stmt_bin_expr_ambiguity.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0070_stmt_bin_expr_ambiguity.rs minor: more condensed tests 2021-09-25 14:24:57 +03:00
0071_match_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0071_match_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0072_return_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0072_return_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0073_type_item_type_params.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0073_type_item_type_params.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0074_stmt_postfix_expr_ambiguity.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0074_stmt_postfix_expr_ambiguity.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0075_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0075_block.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0076_function_where_clause.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0076_function_where_clause.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0077_try_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0077_try_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0078_type_alias.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0078_type_alias.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0079_impl_item.rast internal: parser cleanups 2021-09-18 14:53:46 +03:00
0079_impl_item.rs internal: parser cleanups 2021-09-18 14:53:46 +03:00
0080_postfix_range.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0080_postfix_range.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0081_for_type.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0081_for_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0082_ref_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0082_ref_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0083_struct_items.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0084_paren_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0084_paren_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0085_expr_literals.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0085_expr_literals.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0086_function_ret_type.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0086_function_ret_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0088_break_ambiguity.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0088_break_ambiguity.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0090_type_param_default.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0090_type_param_default.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0092_fn_pointer_type_with_ret.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0092_fn_pointer_type_with_ret.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0093_index_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0093_index_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0095_placeholder_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0095_placeholder_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0096_no_semi_after_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0096_no_semi_after_block.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0099_param_list.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0099_param_list.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0100_for_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0100_for_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0102_record_pat_field_list.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0102_record_pat_field_list.rs Rename record_field_pat to record_pat_field 2020-09-10 18:56:04 +02:00
0103_array_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0103_array_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0104_path_fn_trait_args.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0104_path_fn_trait_args.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0106_lambda_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0106_lambda_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0107_method_call_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0107_method_call_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0108_tuple_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0108_tuple_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0109_label.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0109_label.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0111_tuple_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0111_tuple_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0112_bind_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0112_bind_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0113_nocontentexpr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0113_nocontentexpr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0114_tuple_struct_where.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0114_tuple_struct_where.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0115_tuple_field_attrs.rast internal: cleanup adt parsing 2021-09-18 00:50:27 +03:00
0115_tuple_field_attrs.rs internal: cleanup adt parsing 2021-09-18 00:50:27 +03:00
0117_macro_call_type.rast hir_ty: Expand macros at type position 2021-04-17 16:24:56 +02:00
0117_macro_call_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0118_match_guard.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0118_match_guard.rs Support if let match guards 2021-08-13 00:25:14 +02:00
0120_match_arms_inner_attribute.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0120_match_arms_inner_attribute.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0121_match_arms_outer_attributes.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0121_match_arms_outer_attributes.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0123_param_list_vararg.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0123_param_list_vararg.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0125_crate_keyword_path.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0125_crate_keyword_path.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0125_record_literal_field_with_attr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0125_record_literal_field_with_attr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0126_attr_on_expr_stmt.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0126_attr_on_expr_stmt.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0129_marco_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0129_marco_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0130_let_stmt.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0130_let_stmt.rs minor: more focusted tests 2021-09-25 14:04:27 +03:00
0130_try_block_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0130_try_block_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0131_existential_type.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0131_existential_type.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0132_box_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0132_box_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0134_nocontentexpr_after_item.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0134_nocontentexpr_after_item.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0137_await_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0137_await_expr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0138_associated_type_bounds.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0138_associated_type_bounds.rs Fix generic_arg not parsing opt_generic_arg_list properly in arg lists 2021-07-26 15:21:19 +02:00
0138_expression_after_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0138_expression_after_block.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0138_self_param_outer_attr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0138_self_param_outer_attr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0139_param_outer_arg.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0139_param_outer_arg.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0142_for_range_from.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0142_for_range_from.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0143_box_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0143_box_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0144_dot_dot_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0144_dot_dot_pat.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0145_record_pat_field.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0145_record_pat_field.rs Parse outer atttributes for RecordPatField 2021-04-21 11:08:15 +02:00
0146_as_precedence.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0146_as_precedence.rs minor: more condensed tests 2021-09-25 14:24:57 +03:00
0147_const_param.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0147_const_param.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0147_macro_def.rast internal: more local parsing tests for macros 2021-09-17 22:21:57 +03:00
0147_macro_def.rs internal: more local parsing tests for macros 2021-09-17 22:21:57 +03:00
0150_array_attrs.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0150_array_attrs.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0150_impl_type_params.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0150_impl_type_params.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0151_fn.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0151_fn.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0151_trait_alias.rast internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0151_trait_alias.rs internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0152_arg_with_attr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0152_arg_with_attr.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0153_pub_parens_typepath.rast Handle self/super/crate in PathSegment as NameRef 2021-01-15 19:21:23 +01:00
0153_pub_parens_typepath.rs Don't interpret type path as part of visibility. 2020-10-24 02:20:45 -04:00
0154_fn_pointer_param_ident_path.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0154_fn_pointer_param_ident_path.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0154_no_dyn_trait_leading_for.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0154_no_dyn_trait_leading_for.rs Properly parse legacy trait objects with leading ForType 2020-12-20 21:53:55 +01:00
0154_tuple_attrs.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0154_tuple_attrs.rs Parse attributes in tuple expressions 2020-12-20 21:01:36 +01:00
0155_closure_params.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0155_closure_params.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0156_const_block_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0156_const_block_pat.rs Parse ConstBlockPat 2020-12-23 01:49:43 +01:00
0156_fn_def_param.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0156_fn_def_param.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0156_or_pattern.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0156_or_pattern.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0157_const_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0157_const_block.rs Parse const effect block 2020-12-23 02:15:44 +01:00
0157_fn_pointer_unnamed_arg.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0157_fn_pointer_unnamed_arg.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0157_variant_discriminant.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0157_variant_discriminant.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0158_binop_resets_statementness.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0158_binop_resets_statementness.rs minor: more condensed tests 2021-09-25 14:24:57 +03:00
0158_lambda_ret_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0158_lambda_ret_block.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0158_macro_rules_non_brace.rast Fix macro_rules not accepting brackets or parentheses 2020-12-24 09:36:47 +01:00
0158_macro_rules_non_brace.rs Fix macro_rules not accepting brackets or parentheses 2020-12-24 09:36:47 +01:00
0159_try_macro_fallback.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0159_try_macro_fallback.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0159_yield_expr.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0159_yield_expr.rs Add test for yield_expr 2021-01-15 23:35:17 +09:00
0160_crate_visibility_in.rast Wrap remaining self/super/crate in Name{Ref} 2021-01-15 22:18:43 +01:00
0160_crate_visibility_in.rs Wrap remaining self/super/crate in Name{Ref} 2021-01-15 22:18:43 +01:00
0160_try_macro_rules.rast Move to upstream macro_rules! model 2020-12-15 15:37:37 +01:00
0160_try_macro_rules.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0161_impl_item_const.rast internal: parser cleanups 2021-09-18 14:53:46 +03:00
0161_impl_item_const.rs internal: parser cleanups 2021-09-18 14:53:46 +03:00
0161_labeled_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0161_labeled_block.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0162_default_async_unsafe_fn.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0162_default_async_unsafe_fn.rs Specialization for async traits 2021-02-15 18:33:12 +01:00
0162_unsafe_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0162_unsafe_block.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0163_default_async_fn.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0163_default_async_fn.rs Specialization for async traits 2021-02-15 18:33:12 +01:00
0163_default_unsafe_item.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0163_default_unsafe_item.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0164_default_item.rast Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0164_default_item.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0164_type_path_in_pattern.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0164_type_path_in_pattern.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
0165_const_param_defaults.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0165_const_param_defaults.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0166_half_open_range_pat.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0166_half_open_range_pat.rs Split the test 2021-08-04 03:01:48 -07:00
0168_extern_crate_rename.rast internal: more local parsing tests 2021-09-17 21:49:01 +03:00
0168_extern_crate_rename.rs internal: more local parsing tests 2021-09-17 21:49:01 +03:00
0168_extern_crate_self.rast internal: more local parsing tests 2021-09-17 21:49:01 +03:00
0168_extern_crate_self.rs internal: more local parsing tests 2021-09-17 21:49:01 +03:00
0169_mod_item.rast internal: more local test for mod item 2021-09-17 21:53:24 +03:00
0169_mod_item.rs internal: more local test for mod item 2021-09-17 21:53:24 +03:00
0170_mod_item_curly.rast internal: more local test for mod item 2021-09-17 21:53:24 +03:00
0170_mod_item_curly.rs internal: more local test for mod item 2021-09-17 21:53:24 +03:00
0170_tuple_struct.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0170_tuple_struct.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0171_struct_item.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0171_struct_item.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0172_const_item.rast intenral: more local tests for statics 2021-09-18 01:02:43 +03:00
0172_const_item.rs intenral: more local tests for statics 2021-09-18 01:02:43 +03:00
0172_record_field_list.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0172_record_field_list.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0173_anonymous_const.rast intenral: more local tests for statics 2021-09-18 01:02:43 +03:00
0173_anonymous_const.rs intenral: more local tests for statics 2021-09-18 01:02:43 +03:00
0173_macro_def_curly.rast internal: more local parsing tests for macros 2021-09-17 22:21:57 +03:00
0173_macro_def_curly.rs internal: more local parsing tests for macros 2021-09-17 22:21:57 +03:00
0173_union_item.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0173_union_item.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0174_trait_item_generic_params.rast internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0174_trait_item_generic_params.rs internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0174_unit_struct.rast internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0174_unit_struct.rs internal: more focused parsing tests 2021-09-17 22:15:12 +03:00
0174_use_tree_star.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0174_use_tree_star.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0175_trait_item_bounds.rast internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0175_trait_item_bounds.rs internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0176_trait_item_where_clause.rast internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0176_trait_item_where_clause.rs internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0176_use_tree_alias.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0176_use_tree_alias.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0177_assoc_item_list_inner_attrs.rast internal: parser cleanups 2021-09-18 14:53:46 +03:00
0177_assoc_item_list_inner_attrs.rs internal: parser cleanups 2021-09-18 14:53:46 +03:00
0177_trait_alias_where_clause.rast internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0177_trait_alias_where_clause.rs internal: more focused trait item parsing tests 2021-09-18 14:34:29 +03:00
0177_use_tree.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0177_use_tree.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0177_use_tree_path.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0177_use_tree_path.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0178_use_tree_path_use_tree.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0178_use_tree_path_use_tree.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0179_use_tree_abs_star.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0179_use_tree_abs_star.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0180_use_tree_path_star.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0180_use_tree_path_star.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0181_generic_param_attribute.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0181_generic_param_attribute.rs minor: improve readability 2021-09-18 15:56:26 +03:00
0181_use_item.rast internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0181_use_item.rs internal: minimize use_tree parser tests 2021-09-18 15:22:49 +03:00
0182_lifetime_param.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0182_lifetime_param.rs internal: parser cleanup 2021-09-18 15:46:28 +03:00
0183_const_arg_block.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0183_const_arg_block.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0183_type_param.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0183_type_param.rs internal: parser cleanup 2021-09-18 15:46:28 +03:00
0184_const_arg.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0184_const_arg.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0184_generic_param_list.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0184_generic_param_list.rs internal: parser cleanup 2021-09-18 15:46:28 +03:00
0185_assoc_type_bound.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0185_assoc_type_bound.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0186_lifetime_arg.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0186_lifetime_arg.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0187_assoc_type_eq.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0187_assoc_type_eq.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0188_const_arg_path.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0188_const_arg_path.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0189_const_arg_literal.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0189_const_arg_literal.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0190_generic_arg.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0190_generic_arg.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0191_const_arg_negative_number.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0191_const_arg_negative_number.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0192_const_arg_bool_literal.rast internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0192_const_arg_bool_literal.rs internal: more focused tests for const arguments 2021-09-19 16:35:10 +03:00
0193_let_stmt_init.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0193_let_stmt_init.rs minor: more focusted tests 2021-09-25 14:04:27 +03:00
0194_let_stmt_ascription.rast internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
0194_let_stmt_ascription.rs minor: more focusted tests 2021-09-25 14:04:27 +03:00