diff options
author | Aleksey Kladov <[email protected]> | 2021-06-15 14:54:43 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-15 14:54:43 +0100 |
commit | 067e97d149edc5eccdd0a30079f313325e87e449 (patch) | |
tree | 18d39b0aedee752543e5fdd4f73d4108694cae2b /crates/syntax | |
parent | 4584868a7a23ea640694f34ed9e8c907473c66b4 (diff) |
internal: enforce no #[ignore] and no #[should_panic]
Diffstat (limited to 'crates/syntax')
-rw-r--r-- | crates/syntax/test_data/parser/ok/0011_outer_attribute.rast | 2 | ||||
-rw-r--r-- | crates/syntax/test_data/parser/ok/0011_outer_attribute.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ [email protected] | |||
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "ignore" | 24 | [email protected] "Ignore" |
25 | [email protected] "]" | 25 | [email protected] "]" |
26 | [email protected] "\n" | 26 | [email protected] "\n" |
27 | [email protected] "fn" | 27 | [email protected] "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 @@ | |||
1 | #[cfg(test)] | 1 | #[cfg(test)] |
2 | #[ignore] | 2 | #[Ignore] |
3 | fn foo() {} | 3 | fn foo() {} |
4 | 4 | ||
5 | #[path = "a.rs"] | 5 | #[path = "a.rs"] |