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.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/crates/parser/test_data/generated/runner.rs b/crates/parser/test_data/generated/runner.rs
index aa8210541a..d0e6b3f6c9 100644
--- a/crates/parser/test_data/generated/runner.rs
+++ b/crates/parser/test_data/generated/runner.rs
@@ -559,11 +559,17 @@ mod ok {
fn try_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/try_expr.rs"); }
#[test]
fn try_macro_fallback() {
- run_and_expect_no_errors("test_data/parser/inline/ok/try_macro_fallback.rs");
+ run_and_expect_no_errors_with_edition(
+ "test_data/parser/inline/ok/try_macro_fallback.rs",
+ crate::Edition::Edition2015,
+ );
}
#[test]
fn try_macro_rules() {
- run_and_expect_no_errors("test_data/parser/inline/ok/try_macro_rules.rs");
+ run_and_expect_no_errors_with_edition(
+ "test_data/parser/inline/ok/try_macro_rules.rs",
+ crate::Edition::Edition2015,
+ );
}
#[test]
fn tuple_attrs() { run_and_expect_no_errors("test_data/parser/inline/ok/tuple_attrs.rs"); }