assert!(self.in_snapshot());
// Go through each placeholder that we created.
- for (_, &placeholder_region) in placeholder_map {
+ for &placeholder_region in placeholder_map.values() {
// Find the universe this placeholder inhabits.
let placeholder = match placeholder_region {
ty::RePlaceholder(p) => p,
fn new(directions: TaintDirections, initial_region: ty::Region<'tcx>) -> Self {
let mut regions = FxHashSet::default();
regions.insert(initial_region);
- TaintSet { directions: directions, regions: regions }
+ TaintSet { directions, regions }
}
fn fixed_point(