Don't store region in CapturedPlace
This commit is contained in:
parent
eb33b43bab
commit
e04ede46bb
2 changed files with 19 additions and 43 deletions
|
@ -88,9 +88,6 @@ pub struct CapturedPlace<'tcx> {
|
|||
|
||||
/// Represents if `place` can be mutated or not.
|
||||
pub mutability: hir::Mutability,
|
||||
|
||||
/// Region of the resulting reference if the upvar is captured by ref.
|
||||
pub region: Option<ty::Region<'tcx>>,
|
||||
}
|
||||
|
||||
impl<'tcx> CapturedPlace<'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue