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
|
@ -513,6 +513,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
}
|
||||
|
||||
while !vid_map.is_empty() {
|
||||
#[allow(rustc::potential_query_instability)]
|
||||
let target = *vid_map.keys().next().expect("Keys somehow empty");
|
||||
let deps = vid_map.remove(&target).expect("Entry somehow missing");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue