Remove and stabilize --enable-per-target-ignores

This removes the `--enable-per-target-ignores` and enables it
unconditionally.
This commit is contained in:
Eric Huss
2025-02-15 11:18:29 -08:00
parent 6441701e5c
commit 7251b466a4
12 changed files with 43 additions and 92 deletions

View File

@@ -212,7 +212,7 @@ impl DocVisitor<'_> for CoverageCalculator<'_, '_> {
let has_docs = !i.attrs.doc_strings.is_empty();
let mut tests = Tests { found_tests: 0 };
find_testable_code(&i.doc_value(), &mut tests, ErrorCodes::No, false, None);
find_testable_code(&i.doc_value(), &mut tests, ErrorCodes::No, None);
let has_doc_example = tests.found_tests != 0;
let hir_id = DocContext::as_local_hir_id(self.ctx.tcx, i.item_id).unwrap();