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.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/parser/test_data/generated/runner.rs b/crates/parser/test_data/generated/runner.rs
index 01fc172ed9..71978390df 100644
--- a/crates/parser/test_data/generated/runner.rs
+++ b/crates/parser/test_data/generated/runner.rs
@@ -87,6 +87,22 @@ mod ok {
#[test]
fn cast_expr() { run_and_expect_no_errors("test_data/parser/inline/ok/cast_expr.rs"); }
#[test]
+ fn cfg_attr() { run_and_expect_no_errors("test_data/parser/inline/ok/cfg_attr.rs"); }
+ #[test]
+ fn cfg_composite_pred() {
+ run_and_expect_no_errors("test_data/parser/inline/ok/cfg_composite_pred.rs");
+ }
+ #[test]
+ fn cfg_key_value_pred() {
+ run_and_expect_no_errors("test_data/parser/inline/ok/cfg_key_value_pred.rs");
+ }
+ #[test]
+ fn cfg_meta() { run_and_expect_no_errors("test_data/parser/inline/ok/cfg_meta.rs"); }
+ #[test]
+ fn cfg_true_false_pred() {
+ run_and_expect_no_errors("test_data/parser/inline/ok/cfg_true_false_pred.rs");
+ }
+ #[test]
fn closure_binder() {
run_and_expect_no_errors("test_data/parser/inline/ok/closure_binder.rs");
}
@@ -826,6 +842,10 @@ mod err {
);
}
#[test]
+ fn key_ident_cfg_predicate() {
+ run_and_expect_errors("test_data/parser/inline/err/key_ident_cfg_predicate.rs");
+ }
+ #[test]
fn let_else_right_curly_brace() {
run_and_expect_errors("test_data/parser/inline/err/let_else_right_curly_brace.rs");
}