remove obsolete givens
from regionck
This commit is contained in:
parent
8859fde21f
commit
b197f1ac2e
12 changed files with 26 additions and 144 deletions
|
@ -867,10 +867,6 @@ impl<'tcx> InferCtxt<'tcx> {
|
|||
self.inner.borrow().undo_log.opaque_types_in_snapshot(&snapshot.undo_snapshot)
|
||||
}
|
||||
|
||||
pub fn add_given(&self, sub: ty::Region<'tcx>, sup: ty::RegionVid) {
|
||||
self.inner.borrow_mut().unwrap_region_constraints().add_given(sub, sup);
|
||||
}
|
||||
|
||||
pub fn can_sub<T>(&self, param_env: ty::ParamEnv<'tcx>, a: T, b: T) -> bool
|
||||
where
|
||||
T: at::ToTrace<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue