mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
never_loop
This commit is contained in:
parent
9e4f94c938
commit
6709eaba2a
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ fn sourcegen_parser_tests() {
|
|||
}
|
||||
// ok is never actually read, but it needs to be specified to create a Test in existing_tests
|
||||
let existing = existing_tests(&tests_dir, true);
|
||||
for t in existing.keys().filter(|&t| !tests.contains_key(t)) {
|
||||
if let Some(t) = existing.keys().find(|&t| !tests.contains_key(t)) {
|
||||
panic!("Test is deleted: {t}");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue