rust/crates/syntax/test_data/parser/inline/ok
Aleksey Kladov af9fd37cd9 internal: minimize use_tree parser tests
The code here is intentionally dense and does exactly what is written.
Explaining semantic difference between Rust 2015 and 2018 doesn't help
with understanding syntax. Better to just add more targeted tests.
2021-09-18 15:22:49 +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 Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0003_where_pred_for.rs
0004_value_parameters_no_patterns.rast
0004_value_parameters_no_patterns.rs
0005_function_type_params.rast
0005_function_type_params.rs
0006_self_param.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0006_self_param.rs
0007_type_param_bounds.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0007_type_param_bounds.rs
0008_path_part.rast
0008_path_part.rs
0009_loop_expr.rast
0009_loop_expr.rs
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
0011_field_expr.rs
0012_type_item_where_clause.rast
0012_type_item_where_clause.rs
0013_pointer_type_mut.rast
0013_pointer_type_mut.rs
0014_never_type.rast
0014_never_type.rs
0015_continue_expr.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0015_continue_expr.rs
0017_array_type.rast
0017_array_type.rs
0018_arb_self_types.rast
0018_arb_self_types.rs
0019_unary_expr.rast
0019_unary_expr.rs
0021_assoc_item_list.rast internal: parser cleanups 2021-09-18 14:53:46 +03:00
0021_assoc_item_list.rs internal: parser cleanups 2021-09-18 14:53:46 +03:00
0022_crate_visibility.rast
0022_crate_visibility.rs
0023_placeholder_type.rast
0023_placeholder_type.rs
0024_slice_pat.rast
0024_slice_pat.rs
0025_slice_type.rast
0025_slice_type.rs
0026_tuple_pat_fields.rast
0026_tuple_pat_fields.rs
0027_ref_pat.rast
0027_ref_pat.rs
0028_impl_trait_type.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0028_impl_trait_type.rs
0029_cast_expr.rast
0029_cast_expr.rs
0030_cond.rast
0030_cond.rs
0031_while_expr.rast
0031_while_expr.rs
0032_fn_pointer_type.rast
0032_fn_pointer_type.rs
0033_reference_type;.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0033_reference_type;.rs
0034_break_expr.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0034_break_expr.rs
0037_qual_paths.rast
0037_qual_paths.rs
0038_full_range_expr.rast
0038_full_range_expr.rs
0039_type_arg.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0039_type_arg.rs
0040_crate_keyword_vis.rast
0040_crate_keyword_vis.rs
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
0042_call_expr.rs
0044_block_items.rast
0044_block_items.rs
0045_param_list_opt_patterns.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0045_param_list_opt_patterns.rs
0046_singleton_tuple_type.rast
0046_singleton_tuple_type.rs
0048_path_type_with_bounds.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0048_path_type_with_bounds.rs
0050_fn_decl.rast
0050_fn_decl.rs
0051_unit_type.rast
0051_unit_type.rs
0052_path_type.rast
0052_path_type.rs
0053_path_expr.rast
0053_path_expr.rs
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 Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST 2021-07-29 23:02:52 +02:00
0055_literal_pattern.rs
0056_where_clause.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0056_where_clause.rs
0058_range_pat.rast Support exclusive_range_pattern 2021-08-03 21:36:29 -07:00
0058_range_pat.rs Support exclusive_range_pattern 2021-08-03 21:36:29 -07:00
0059_match_arms_commas.rast Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST 2021-07-29 23:02:52 +02:00
0059_match_arms_commas.rs
0060_extern_crate.rast
0060_extern_crate.rs
0061_record_lit.rast
0061_record_lit.rs
0062_mod_contents.rast
0062_mod_contents.rs
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
0064_if_expr.rs
0065_dyn_trait_type.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0065_dyn_trait_type.rs
0066_match_arm.rast Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST 2021-07-29 23:02:52 +02:00
0066_match_arm.rs
0067_crate_path.rast
0067_crate_path.rs
0070_stmt_bin_expr_ambiguity.rast
0070_stmt_bin_expr_ambiguity.rs
0071_match_expr.rast
0071_match_expr.rs
0072_return_expr.rast
0072_return_expr.rs
0073_type_item_type_params.rast
0073_type_item_type_params.rs
0074_stmt_postfix_expr_ambiguity.rast
0074_stmt_postfix_expr_ambiguity.rs
0075_block.rast
0075_block.rs
0076_function_where_clause.rast
0076_function_where_clause.rs
0077_try_expr.rast
0077_try_expr.rs
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
0080_postfix_range.rs
0081_for_type.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0081_for_type.rs
0082_ref_expr.rast
0082_ref_expr.rs
0083_struct_items.rast
0084_paren_type.rast
0084_paren_type.rs
0085_expr_literals.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0085_expr_literals.rs
0086_function_ret_type.rast
0086_function_ret_type.rs
0088_break_ambiguity.rast
0088_break_ambiguity.rs
0090_type_param_default.rast
0090_type_param_default.rs
0092_fn_pointer_type_with_ret.rast
0092_fn_pointer_type_with_ret.rs
0093_index_expr.rast
0093_index_expr.rs
0095_placeholder_pat.rast
0095_placeholder_pat.rs
0096_no_semi_after_block.rast
0096_no_semi_after_block.rs
0099_param_list.rast
0099_param_list.rs
0100_for_expr.rast
0100_for_expr.rs
0102_record_pat_field_list.rast
0102_record_pat_field_list.rs
0103_array_expr.rast
0103_array_expr.rs
0104_path_fn_trait_args.rast
0104_path_fn_trait_args.rs
0106_lambda_expr.rast
0106_lambda_expr.rs
0107_method_call_expr.rast
0107_method_call_expr.rs
0108_tuple_expr.rast
0108_tuple_expr.rs
0109_label.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0109_label.rs
0111_tuple_pat.rast
0111_tuple_pat.rs
0112_bind_pat.rast
0112_bind_pat.rs
0113_nocontentexpr.rast
0113_nocontentexpr.rs
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
0117_macro_call_type.rs
0118_match_guard.rast Support if let match guards 2021-08-13 00:25:14 +02:00
0118_match_guard.rs Support if let match guards 2021-08-13 00:25:14 +02:00
0120_match_arms_inner_attribute.rast Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST 2021-07-29 23:02:52 +02:00
0120_match_arms_inner_attribute.rs
0121_match_arms_outer_attributes.rast Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST 2021-07-29 23:02:52 +02:00
0121_match_arms_outer_attributes.rs
0122_generic_lifetime_type_attribute.rast Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0122_generic_lifetime_type_attribute.rs
0123_param_list_vararg.rast
0123_param_list_vararg.rs
0125_crate_keyword_path.rast
0125_crate_keyword_path.rs
0125_record_literal_field_with_attr.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0125_record_literal_field_with_attr.rs
0126_attr_on_expr_stmt.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0126_attr_on_expr_stmt.rs
0127_attr_on_last_expr_in_block.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0127_attr_on_last_expr_in_block.rs
0129_marco_pat.rast
0129_marco_pat.rs
0130_let_stmt.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0130_let_stmt.rs
0130_try_block_expr.rast
0130_try_block_expr.rs
0131_existential_type.rast
0131_existential_type.rs
0132_box_expr.rast
0132_box_expr.rs
0134_nocontentexpr_after_item.rast
0134_nocontentexpr_after_item.rs
0137_await_expr.rast
0137_await_expr.rs
0138_associated_type_bounds.rast Fix generic_arg not parsing opt_generic_arg_list properly in arg lists 2021-07-26 15:21:19 +02: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
0138_expression_after_block.rs
0138_self_param_outer_attr.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0138_self_param_outer_attr.rs
0139_param_outer_arg.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0139_param_outer_arg.rs
0142_for_range_from.rast
0142_for_range_from.rs
0143_box_pat.rast
0143_box_pat.rs
0144_dot_dot_pat.rast
0144_dot_dot_pat.rs
0145_record_pat_field.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0145_record_pat_field.rs
0146_as_precedence.rast
0146_as_precedence.rs
0147_const_param.rast
0147_const_param.rs
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
0150_impl_type_params.rast
0150_impl_type_params.rs
0151_fn.rast
0151_fn.rs
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 Update ungrammar 2021-06-11 18:34:30 +02:00
0152_arg_with_attr.rs
0153_pub_parens_typepath.rast
0153_pub_parens_typepath.rs
0154_fn_pointer_param_ident_path.rast
0154_fn_pointer_param_ident_path.rs
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
0154_tuple_attrs.rast Update ungrammar 2021-06-11 18:34:30 +02:00
0154_tuple_attrs.rs
0155_closure_params.rast
0155_closure_params.rs
0156_const_block_pat.rast
0156_const_block_pat.rs
0156_fn_def_param.rast
0156_fn_def_param.rs
0156_or_pattern.rast Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST 2021-07-29 23:02:52 +02:00
0156_or_pattern.rs
0157_const_block.rast
0157_const_block.rs
0157_fn_pointer_unnamed_arg.rast
0157_fn_pointer_unnamed_arg.rs
0157_variant_discriminant.rast
0157_variant_discriminant.rs
0158_binop_resets_statementness.rast
0158_binop_resets_statementness.rs
0158_lambda_ret_block.rast
0158_lambda_ret_block.rs
0158_macro_rules_non_brace.rast
0158_macro_rules_non_brace.rs
0159_try_macro_fallback.rast
0159_try_macro_fallback.rs
0159_yield_expr.rast
0159_yield_expr.rs
0160_crate_visibility_in.rast
0160_crate_visibility_in.rs
0160_try_macro_rules.rast
0160_try_macro_rules.rs
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 Fix parser tests for 1.53 2021-06-17 18:09:44 +02:00
0161_labeled_block.rs
0162_default_async_unsafe_fn.rast
0162_default_async_unsafe_fn.rs
0162_unsafe_block.rast
0162_unsafe_block.rs
0163_default_async_fn.rast
0163_default_async_fn.rs
0163_default_unsafe_item.rast
0163_default_unsafe_item.rs
0164_const_generic_negated_literal.rast
0164_const_generic_negated_literal.rs
0164_default_item.rast
0164_default_item.rs
0164_type_path_in_pattern.rast
0164_type_path_in_pattern.rs
0165_const_param_defaults.rast
0165_const_param_defaults.rs
0166_half_open_range_pat.rast Split the test 2021-08-04 03:01:48 -07: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_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
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
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_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