diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-03-06 19:11:05 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-03-06 19:18:40 +0100 |
| commit | 93b09ca0673dd59f3f7d42d8edf24c48bb75e841 (patch) | |
| tree | 956cf3e032dd9bea06879677478475b5fa5669b2 | |
| parent | ab21cf2f4f09827eb3a0b20e008f0196c07734e3 (diff) | |
| download | rust-93b09ca0673dd59f3f7d42d8edf24c48bb75e841.tar.gz rust-93b09ca0673dd59f3f7d42d8edf24c48bb75e841.zip | |
Update tidy ignore list
| -rw-r--r-- | crates/hir/src/attrs.rs | 1 | ||||
| -rw-r--r-- | crates/rust-analyzer/tests/slow-tests/tidy.rs | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/crates/hir/src/attrs.rs b/crates/hir/src/attrs.rs index 7e83819a4f5..59603c61123 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 37be41754eb..2b51e7fecbb 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", ]; |
