mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Update tidy ignore list
This commit is contained in:
parent
ab21cf2f4f
commit
93b09ca067
2 changed files with 4 additions and 3 deletions
|
@ -149,6 +149,7 @@ fn resolve_doc_path(
|
||||||
};
|
};
|
||||||
|
|
||||||
let modpath = {
|
let modpath = {
|
||||||
|
// FIXME: this is not how we should get a mod path here
|
||||||
let ast_path = ast::SourceFile::parse(&format!("type T = {};", link))
|
let ast_path = ast::SourceFile::parse(&format!("type T = {};", link))
|
||||||
.syntax_node()
|
.syntax_node()
|
||||||
.descendants()
|
.descendants()
|
||||||
|
|
|
@ -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) {
|
fn deny_clippy(path: &Path, text: &str) {
|
||||||
let ignore = &[
|
let ignore = &[
|
||||||
// The documentation in string literals may contain anything for its own purposes
|
// 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
|
// The tests test clippy lint hovers
|
||||||
"ide/src/hover/tests.rs",
|
"ide/src/hover/tests.rs",
|
||||||
// The tests test clippy lint completions
|
// The tests test clippy lint completions
|
||||||
|
@ -279,7 +279,7 @@ fn check_todo(path: &Path, text: &str) {
|
||||||
// `ast::make`.
|
// `ast::make`.
|
||||||
"ast/make.rs",
|
"ast/make.rs",
|
||||||
// The documentation in string literals may contain anything for its own purposes
|
// 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/utils/gen_trait_fn_body.rs",
|
||||||
"ide_assists/src/tests/generated.rs",
|
"ide_assists/src/tests/generated.rs",
|
||||||
// The tests for missing fields
|
// The tests for missing fields
|
||||||
|
@ -315,7 +315,7 @@ fn check_dbg(path: &Path, text: &str) {
|
||||||
"ide_completion/src/tests/proc_macros.rs",
|
"ide_completion/src/tests/proc_macros.rs",
|
||||||
// The documentation in string literals may contain anything for its own purposes
|
// The documentation in string literals may contain anything for its own purposes
|
||||||
"ide_completion/src/lib.rs",
|
"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
|
// test for doc test for remove_dbg
|
||||||
"src/tests/generated.rs",
|
"src/tests/generated.rs",
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue