diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs index d2082ab87e738..85b1e91ee35c8 100644 --- a/src/librustc/query/mod.rs +++ b/src/librustc/query/mod.rs @@ -424,7 +424,6 @@ rustc_queries! { } cache_on_disk_if(_, opt_result) { // Only store results without errors - // FIXME: We never store these opt_result.map_or(true, |r| r.is_ok()) } } diff --git a/src/librustc/ty/query/on_disk_cache.rs b/src/librustc/ty/query/on_disk_cache.rs index 8b2183c42efd4..336caa391e40e 100644 --- a/src/librustc/ty/query/on_disk_cache.rs +++ b/src/librustc/ty/query/on_disk_cache.rs @@ -221,8 +221,8 @@ impl<'sess> OnDiskCache<'sess> { encode_query_results::, _>(tcx, enc, qri)?; encode_query_results::, _>(tcx, enc, qri)?; encode_query_results::, _>(tcx, enc, qri)?; + encode_query_results::, _>(tcx, enc, qri)?; encode_query_results::, _>(tcx, enc, qri)?; - // FIXME: Include const_eval_raw? Ok(()) })?;