From 067e97d149edc5eccdd0a30079f313325e87e449 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 15 Jun 2021 16:54:43 +0300 Subject: internal: enforce no #[ignore] and no #[should_panic] --- crates/syntax/test_data/parser/ok/0011_outer_attribute.rast | 2 +- crates/syntax/test_data/parser/ok/0011_outer_attribute.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/syntax') diff --git a/crates/syntax/test_data/parser/ok/0011_outer_attribute.rast b/crates/syntax/test_data/parser/ok/0011_outer_attribute.rast index ff5877a7b..31f76589d 100644 --- a/crates/syntax/test_data/parser/ok/0011_outer_attribute.rast +++ b/crates/syntax/test_data/parser/ok/0011_outer_attribute.rast @@ -21,7 +21,7 @@ SOURCE_FILE@0..60 PATH@15..21 PATH_SEGMENT@15..21 NAME_REF@15..21 - IDENT@15..21 "ignore" + IDENT@15..21 "Ignore" R_BRACK@21..22 "]" WHITESPACE@22..23 "\n" FN_KW@23..25 "fn" diff --git a/crates/syntax/test_data/parser/ok/0011_outer_attribute.rs b/crates/syntax/test_data/parser/ok/0011_outer_attribute.rs index 3d2e01d5c..6f04cb171 100644 --- a/crates/syntax/test_data/parser/ok/0011_outer_attribute.rs +++ b/crates/syntax/test_data/parser/ok/0011_outer_attribute.rs @@ -1,5 +1,5 @@ #[cfg(test)] -#[ignore] +#[Ignore] fn foo() {} #[path = "a.rs"] -- cgit v1.2.3