about summary refs log tree commit diff
path: root/compiler/rustc_incremental/src/assert_module_sources.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-05-11 14:39:04 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-05-12 13:58:46 +0200
commit0bde3b1f80f642831d8de5cd76e90fc468dd3ab5 (patch)
treeee80ce19f9aabd2ae6d66c91a5b31176bc58ee43 /compiler/rustc_incremental/src/assert_module_sources.rs
parent4e8d4bdf4b5f185a6096c29147dff7d2d3daa7d7 (diff)
downloadrust-0bde3b1f80f642831d8de5cd76e90fc468dd3ab5.tar.gz
rust-0bde3b1f80f642831d8de5cd76e90fc468dd3ab5.zip
Use () for codegen queries.
Diffstat (limited to 'compiler/rustc_incremental/src/assert_module_sources.rs')
-rw-r--r--compiler/rustc_incremental/src/assert_module_sources.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_incremental/src/assert_module_sources.rs b/compiler/rustc_incremental/src/assert_module_sources.rs
index 5fb2c1cb9c9..8220eb6c657 100644
--- a/compiler/rustc_incremental/src/assert_module_sources.rs
+++ b/compiler/rustc_incremental/src/assert_module_sources.rs
@@ -36,7 +36,7 @@ pub fn assert_module_sources(tcx: TyCtxt<'_>) {
         }
 
         let available_cgus = tcx
-            .collect_and_partition_mono_items(LOCAL_CRATE)
+            .collect_and_partition_mono_items(())
             .1
             .iter()
             .map(|cgu| cgu.name().to_string())