Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/test_data/generated/runner.rs')
-rw-r--r--crates/parser/test_data/generated/runner.rs51
1 files changed, 23 insertions, 28 deletions
diff --git a/crates/parser/test_data/generated/runner.rs b/crates/parser/test_data/generated/runner.rs
index 62b381b668..003b7fda94 100644
--- a/crates/parser/test_data/generated/runner.rs
+++ b/crates/parser/test_data/generated/runner.rs
@@ -39,10 +39,6 @@ mod ok {
#[test]
fn assoc_type_eq() { run_and_expect_no_errors("test_data/parser/inline/ok/assoc_type_eq.rs"); }
#[test]
- fn associated_type_bounds() {
- run_and_expect_no_errors("test_data/parser/inline/ok/associated_type_bounds.rs");
- }
- #[test]
fn async_trait_bound() {
run_and_expect_no_errors("test_data/parser/inline/ok/async_trait_bound.rs");
}
@@ -59,12 +55,6 @@ mod ok {
);
}
#[test]
- fn bare_dyn_types_with_paren_as_generic_args() {
- run_and_expect_no_errors(
- "test_data/parser/inline/ok/bare_dyn_types_with_paren_as_generic_args.rs",
- );
- }
- #[test]
fn become_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/become_expr.rs"); }
#[test]
fn bind_pat() { run_and_expect_no_errors("test_data/parser/inline/ok/bind_pat.rs"); }
@@ -200,6 +190,13 @@ mod ok {
);
}
#[test]
+ fn edition_2015_dyn_prefix_inside_generic_arg() {
+ run_and_expect_no_errors_with_edition(
+ "test_data/parser/inline/ok/edition_2015_dyn_prefix_inside_generic_arg.rs",
+ crate::Edition::Edition2015,
+ );
+ }
+ #[test]
fn effect_blocks() { run_and_expect_no_errors("test_data/parser/inline/ok/effect_blocks.rs"); }
#[test]
fn exclusive_range_pat() {
@@ -220,10 +217,6 @@ mod ok {
run_and_expect_no_errors("test_data/parser/inline/ok/extern_crate_rename.rs");
}
#[test]
- fn extern_crate_self() {
- run_and_expect_no_errors("test_data/parser/inline/ok/extern_crate_self.rs");
- }
- #[test]
fn field_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/field_expr.rs"); }
#[test]
fn fn_() { run_and_expect_no_errors("test_data/parser/inline/ok/fn_.rs"); }
@@ -281,6 +274,10 @@ mod ok {
#[test]
fn generic_arg() { run_and_expect_no_errors("test_data/parser/inline/ok/generic_arg.rs"); }
#[test]
+ fn generic_arg_bounds() {
+ run_and_expect_no_errors("test_data/parser/inline/ok/generic_arg_bounds.rs");
+ }
+ #[test]
fn generic_param_attribute() {
run_and_expect_no_errors("test_data/parser/inline/ok/generic_param_attribute.rs");
}
@@ -423,10 +420,6 @@ mod ok {
#[test]
fn param_list() { run_and_expect_no_errors("test_data/parser/inline/ok/param_list.rs"); }
#[test]
- fn param_list_opt_patterns() {
- run_and_expect_no_errors("test_data/parser/inline/ok/param_list_opt_patterns.rs");
- }
- #[test]
fn param_list_vararg() {
run_and_expect_no_errors("test_data/parser/inline/ok/param_list_vararg.rs");
}
@@ -521,12 +514,6 @@ mod ok {
#[test]
fn return_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/return_expr.rs"); }
#[test]
- fn return_type_syntax_assoc_type_bound() {
- run_and_expect_no_errors(
- "test_data/parser/inline/ok/return_type_syntax_assoc_type_bound.rs",
- );
- }
- #[test]
fn return_type_syntax_in_path() {
run_and_expect_no_errors("test_data/parser/inline/ok/return_type_syntax_in_path.rs");
}
@@ -685,10 +672,6 @@ mod ok {
#[test]
fn use_tree_star() { run_and_expect_no_errors("test_data/parser/inline/ok/use_tree_star.rs"); }
#[test]
- fn value_parameters_no_patterns() {
- run_and_expect_no_errors("test_data/parser/inline/ok/value_parameters_no_patterns.rs");
- }
- #[test]
fn variant_discriminant() {
run_and_expect_no_errors("test_data/parser/inline/ok/variant_discriminant.rs");
}
@@ -728,6 +711,8 @@ mod err {
run_and_expect_errors("test_data/parser/inline/err/async_without_semicolon.rs");
}
#[test]
+ fn bad_asm_expr() { run_and_expect_errors("test_data/parser/inline/err/bad_asm_expr.rs"); }
+ #[test]
fn comma_after_functional_update_syntax() {
run_and_expect_errors(
"test_data/parser/inline/err/comma_after_functional_update_syntax.rs",
@@ -754,6 +739,10 @@ mod err {
run_and_expect_errors("test_data/parser/inline/err/generic_arg_list_recover.rs");
}
#[test]
+ fn generic_arg_list_recover_expr() {
+ run_and_expect_errors("test_data/parser/inline/err/generic_arg_list_recover_expr.rs");
+ }
+ #[test]
fn generic_param_list_recover() {
run_and_expect_errors("test_data/parser/inline/err/generic_param_list_recover.rs");
}
@@ -772,6 +761,8 @@ mod err {
run_and_expect_errors("test_data/parser/inline/err/match_arms_recovery.rs");
}
#[test]
+ fn meta_recovery() { run_and_expect_errors("test_data/parser/inline/err/meta_recovery.rs"); }
+ #[test]
fn method_call_missing_argument_list() {
run_and_expect_errors("test_data/parser/inline/err/method_call_missing_argument_list.rs");
}
@@ -788,6 +779,10 @@ mod err {
run_and_expect_errors("test_data/parser/inline/err/pointer_type_no_mutability.rs");
}
#[test]
+ fn precise_capturing_invalid() {
+ run_and_expect_errors("test_data/parser/inline/err/precise_capturing_invalid.rs");
+ }
+ #[test]
fn pub_expr() { run_and_expect_errors("test_data/parser/inline/err/pub_expr.rs"); }
#[test]
fn record_literal_before_ellipsis_recovery() {