diff options
| author | yukang <moorekang@gmail.com> | 2024-01-30 12:42:29 +0800 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2024-01-30 12:43:10 +0800 |
| commit | ad526d831e295facc198610a27350076aa5aa438 (patch) | |
| tree | 94ba25d20e5643a27a4b670fec0f083aa0ea67e9 /compiler/rustc_codegen_llvm/src | |
| parent | 5518eaa946291f00471af8b254b2a1715f234882 (diff) | |
| download | rust-ad526d831e295facc198610a27350076aa5aa438.tar.gz rust-ad526d831e295facc198610a27350076aa5aa438.zip | |
add missing potential_query_instability for keys and values in hashmap
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs b/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs index 6116a6fd222..b1ceb1d4dd5 100644 --- a/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs +++ b/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs @@ -403,6 +403,7 @@ fn codegenned_and_inlined_items(tcx: TyCtxt<'_>) -> DefIdSet { let mut result = items.clone(); for cgu in cgus { + #[allow(rustc::potential_query_instability)] for item in cgu.items().keys() { if let mir::mono::MonoItem::Fn(ref instance) = item { let did = instance.def_id(); |
