Make the rustc driver and interface demand driven

This commit is contained in:
John Kåre Alsaker 2018-12-08 20:30:23 +01:00
parent 26b4cb4848
commit 51938c61f6
60 changed files with 2521 additions and 2755 deletions

View file

@ -15,7 +15,7 @@ pub const CALCULATE_DOC_COVERAGE: Pass = Pass {
description: "counts the number of items with and without documentation",
};
fn calculate_doc_coverage(krate: clean::Crate, _: &DocContext<'_, '_, '_>) -> clean::Crate {
fn calculate_doc_coverage(krate: clean::Crate, _: &DocContext<'_>) -> clean::Crate {
let mut calc = CoverageCalculator::default();
let krate = calc.fold_crate(krate);