diff --git a/crates/hir/src/attrs.rs b/crates/hir/src/attrs.rs index 7e83819a4f..59603c6112 100644 --- a/crates/hir/src/attrs.rs +++ b/crates/hir/src/attrs.rs @@ -149,6 +149,7 @@ fn resolve_doc_path( }; let modpath = { + // FIXME: this is not how we should get a mod path here let ast_path = ast::SourceFile::parse(&format!("type T = {};", link)) .syntax_node() .descendants() diff --git a/crates/rust-analyzer/tests/slow-tests/tidy.rs b/crates/rust-analyzer/tests/slow-tests/tidy.rs index 37be41754e..2b51e7fecb 100644 --- a/crates/rust-analyzer/tests/slow-tests/tidy.rs +++ b/crates/rust-analyzer/tests/slow-tests/tidy.rs @@ -188,7 +188,7 @@ https://github.blog/2015-06-08-how-to-undo-almost-anything-with-git/#redo-after- fn deny_clippy(path: &Path, text: &str) { let ignore = &[ // The documentation in string literals may contain anything for its own purposes - "ide_db/src/helpers/generated_lints.rs", + "ide_db/src/generated/lints.rs", // The tests test clippy lint hovers "ide/src/hover/tests.rs", // The tests test clippy lint completions @@ -279,7 +279,7 @@ fn check_todo(path: &Path, text: &str) { // `ast::make`. "ast/make.rs", // The documentation in string literals may contain anything for its own purposes - "ide_db/src/helpers/generated_lints.rs", + "ide_db/src/generated/lints.rs", "ide_assists/src/utils/gen_trait_fn_body.rs", "ide_assists/src/tests/generated.rs", // The tests for missing fields @@ -315,7 +315,7 @@ fn check_dbg(path: &Path, text: &str) { "ide_completion/src/tests/proc_macros.rs", // The documentation in string literals may contain anything for its own purposes "ide_completion/src/lib.rs", - "ide_db/src/helpers/generated_lints.rs", + "ide_db/src/generated/lints.rs", // test for doc test for remove_dbg "src/tests/generated.rs", ];