From 3f5eead9e3b32f7e88562337c95f76ea75c82486 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 15 Jun 2021 17:20:11 +0300 Subject: minor: fix typo --- xtask/src/tidy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask') diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs index 25ddb43b2..06219d155 100644 --- a/xtask/src/tidy.rs +++ b/xtask/src/tidy.rs @@ -354,7 +354,7 @@ fn check_test_attrs(path: &Path, text: &str) { } let panic_rule = - "https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#panic"; + "https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#should_panic"; let need_panic: &[&str] = &["test_utils/src/fixture.rs"]; if text.contains("#[should_panic") && !need_panic.iter().any(|p| path.ends_with(p)) { panic!( -- cgit v1.2.3