fix a couple nits
- remove unneeded type ascription - fix variable name - fix typo in comment - fix `var_origins` var and function name: these are `VarInfos`
This commit is contained in:
parent
8cdc67ed23
commit
b0fc1d47d5
3 changed files with 6 additions and 7 deletions
|
@ -945,7 +945,7 @@ impl<'tcx> InferCtxt<'tcx> {
|
|||
|
||||
/// Clone the list of variable regions. This is used only during NLL processing
|
||||
/// to put the set of region variables into the NLL region context.
|
||||
pub fn get_region_var_origins(&self) -> VarInfos {
|
||||
pub fn get_region_var_infos(&self) -> VarInfos {
|
||||
let inner = self.inner.borrow();
|
||||
assert!(!UndoLogs::<UndoLog<'_>>::in_snapshot(&inner.undo_log));
|
||||
let storage = inner.region_constraint_storage.as_ref().expect("regions already resolved");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue