Skip to content

Commit 93b09ca

Browse files
committed
Update tidy ignore list
1 parent ab21cf2 commit 93b09ca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

crates/hir/src/attrs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ fn resolve_doc_path(
149149
};
150150

151151
let modpath = {
152+
// FIXME: this is not how we should get a mod path here
152153
let ast_path = ast::SourceFile::parse(&format!("type T = {};", link))
153154
.syntax_node()
154155
.descendants()

crates/rust-analyzer/tests/slow-tests/tidy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ https://github.blog/2015-06-08-how-to-undo-almost-anything-with-git/#redo-after-
188188
fn deny_clippy(path: &Path, text: &str) {
189189
let ignore = &[
190190
// The documentation in string literals may contain anything for its own purposes
191-
"ide_db/src/helpers/generated_lints.rs",
191+
"ide_db/src/generated/lints.rs",
192192
// The tests test clippy lint hovers
193193
"ide/src/hover/tests.rs",
194194
// The tests test clippy lint completions
@@ -279,7 +279,7 @@ fn check_todo(path: &Path, text: &str) {
279279
// `ast::make`.
280280
"ast/make.rs",
281281
// The documentation in string literals may contain anything for its own purposes
282-
"ide_db/src/helpers/generated_lints.rs",
282+
"ide_db/src/generated/lints.rs",
283283
"ide_assists/src/utils/gen_trait_fn_body.rs",
284284
"ide_assists/src/tests/generated.rs",
285285
// The tests for missing fields
@@ -315,7 +315,7 @@ fn check_dbg(path: &Path, text: &str) {
315315
"ide_completion/src/tests/proc_macros.rs",
316316
// The documentation in string literals may contain anything for its own purposes
317317
"ide_completion/src/lib.rs",
318-
"ide_db/src/helpers/generated_lints.rs",
318+
"ide_db/src/generated/lints.rs",
319319
// test for doc test for remove_dbg
320320
"src/tests/generated.rs",
321321
];

0 commit comments

Comments
 (0)