add missing potential_query_instability for keys and values in hashmap
This commit is contained in:
parent
5518eaa946
commit
ad526d831e
10 changed files with 55 additions and 7 deletions
|
@ -267,6 +267,7 @@ impl CguReuseTracker {
|
|||
|
||||
fn check_expected_reuse(&self, sess: &Session) {
|
||||
if let Some(ref data) = self.data {
|
||||
#[allow(rustc::potential_query_instability)]
|
||||
let mut keys = data.expected_reuse.keys().collect::<Vec<_>>();
|
||||
keys.sort_unstable();
|
||||
for cgu_name in keys {
|
||||
|
|
|
@ -682,6 +682,7 @@ fn link_dwarf_object<'a>(
|
|||
}
|
||||
|
||||
// Input rlibs contain .o/.dwo files from dependencies.
|
||||
#[allow(rustc::potential_query_instability)]
|
||||
let input_rlibs = cg_results
|
||||
.crate_info
|
||||
.used_crate_source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue