diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-05-11 14:39:04 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-05-12 13:58:46 +0200 |
| commit | 0bde3b1f80f642831d8de5cd76e90fc468dd3ab5 (patch) | |
| tree | ee80ce19f9aabd2ae6d66c91a5b31176bc58ee43 /compiler/rustc_incremental/src/assert_module_sources.rs | |
| parent | 4e8d4bdf4b5f185a6096c29147dff7d2d3daa7d7 (diff) | |
| download | rust-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.rs | 2 |
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()) |
