Use () for codegen queries.
This commit is contained in:
parent
4e8d4bdf4b
commit
0bde3b1f80
15 changed files with 40 additions and 56 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue