internal: re-generate lints.rs

This commit is contained in:
DaniPopes 2023-09-29 02:44:40 +02:00
parent f19479a2ad
commit 53f5c1c13f
No known key found for this signature in database
GPG key ID: 0F09640DDB7AC692
5 changed files with 2057 additions and 1283 deletions

View file

@ -300,6 +300,8 @@ fn check_test_attrs(path: &Path, text: &str) {
// This file.
"slow-tests/tidy.rs",
"test-utils/src/fixture.rs",
// Generated code from lints contains doc tests in string literals.
"ide-db/src/generated/lints.rs",
];
if text.contains("#[should_panic") && !need_panic.iter().any(|p| path.ends_with(p)) {
panic!(