rustc_index: Add a ZERO
constant to index types
It is commonly used.
This commit is contained in:
parent
ceab6128fa
commit
b40ea03f8a
42 changed files with 80 additions and 90 deletions
|
@ -554,11 +554,7 @@ fn plug_infer_with_placeholders<'tcx>(
|
|||
}
|
||||
}
|
||||
|
||||
value.visit_with(&mut PlugInferWithPlaceholder {
|
||||
infcx,
|
||||
universe,
|
||||
var: ty::BoundVar::from_u32(0),
|
||||
});
|
||||
value.visit_with(&mut PlugInferWithPlaceholder { infcx, universe, var: ty::BoundVar::ZERO });
|
||||
}
|
||||
|
||||
fn try_prove_negated_where_clause<'tcx>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue