diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-05-11 12:26:53 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-05-12 13:58:43 +0200 |
| commit | 75f4f6ee4fd12f5eed5832f8006281571114818a (patch) | |
| tree | 9ca2b067d9044bce3256b2f276484b88da1dc2cb /compiler/rustc_codegen_llvm/src | |
| parent | 9d15abe0cc3f8d5dc73c6acc829ca66e1eebaf60 (diff) | |
| download | rust-75f4f6ee4fd12f5eed5832f8006281571114818a.tar.gz rust-75f4f6ee4fd12f5eed5832f8006281571114818a.zip | |
Use () for mir_keys.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs b/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs index 30f125ca3be..ccf4a4eeefe 100644 --- a/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs +++ b/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs @@ -265,7 +265,7 @@ fn add_unused_functions<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>) { let ignore_unused_generics = tcx.sess.instrument_coverage_except_unused_generics(); let all_def_ids: DefIdSet = tcx - .mir_keys(LOCAL_CRATE) + .mir_keys(()) .iter() .filter_map(|local_def_id| { let def_id = local_def_id.to_def_id(); |
