Address review comments
- Add back `HirIdVec`, with a comment that it will soon be used. - Add back `*_region` functions, with a comment they may soon be used. - Remove `-Z borrowck_stats` completely. It didn't do anything. - Remove `make_nop` completely. - Add back `current_loc`, which is used by an out-of-tree tool. - Fix style nits - Remove `AtomicCell` with `cfg(parallel_compiler)` for consistency.
This commit is contained in:
parent
441dc3640a
commit
de0fda9558
10 changed files with 154 additions and 18 deletions
|
@ -146,7 +146,7 @@ impl<'tcx> TypeVariableValue<'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) struct Instantiate {}
|
||||
pub(crate) struct Instantiate;
|
||||
|
||||
pub(crate) struct Delegate;
|
||||
|
||||
|
@ -222,7 +222,7 @@ impl<'tcx> TypeVariableTable<'_, 'tcx> {
|
|||
// Hack: we only need this so that `types_escaping_snapshot`
|
||||
// can see what has been unified; see the Delegate impl for
|
||||
// more details.
|
||||
self.undo_log.push(Instantiate {});
|
||||
self.undo_log.push(Instantiate);
|
||||
}
|
||||
|
||||
/// Creates a new type variable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue