address review comments
This commit is contained in:
parent
57950982b2
commit
d394e75ef6
4 changed files with 80 additions and 73 deletions
|
|
@ -1150,10 +1150,6 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> {
|
|||
self.tcx.mk_var(self.next_ty_var_id(true))
|
||||
}
|
||||
|
||||
pub fn next_ty_vars(&self, n: usize) -> Vec<Ty<'tcx>> {
|
||||
(0..n).map(|_i| self.next_ty_var()).collect()
|
||||
}
|
||||
|
||||
pub fn next_int_var_id(&self) -> IntVid {
|
||||
self.int_unification_table
|
||||
.borrow_mut()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue