Use () for codegen queries.

This commit is contained in:
Camille GILLOT 2021-05-11 14:39:04 +02:00
parent 4e8d4bdf4b
commit 0bde3b1f80
15 changed files with 40 additions and 56 deletions

View file

@ -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())