pub fn extent_of_return_scope(&self) -> CodeExtent {
        // The outermost scope (`scopes[0]`) will be the `CallSiteScope`.
        // We want `scopes[1]`, which is the `ParameterScope`.
        assert!(self.scopes.len() >= 2);
        assert!(match self.hir.tcx().region_maps.code_extent_data(self.scopes[1].extent) {
            CodeExtentData::ParameterScope { .. } => true,
            _ => false,
        });
        self.scopes[1].extent
    }
/// Returns the extent of the scope which should be exited by a
/// return.
Returns the extent of the scope which should be exited by a
return.
Returns the extent of the scope which should be exited by a return .
pub fn extent_of_return_scope(&self) -> CodeExtent {
        // The outermost scope (`scopes[0]`) will be the `CallSiteScope`.
        // We want `scopes[1]`, which is the `ParameterScope`.
        assert!(self.scopes.len() >= 2);
        assert!(match self.hir.tcx().region_maps.code_extent_data(self.scopes[1].extent) {
            CodeExtentData::ParameterScope { .. } => true,
            _ => false,
        });
        self.scopes[1].extent
    }
pub fn extent_of_return_scope ( & self ) -> CodeExtent { // The outermost scope (`scopes[0]`) will be the `CallSiteScope`. // We want `scopes[1]`, which is the `ParameterScope`. assert ! ( self scopes len ( ) 2 ) ; assert ! ( match self hir tcx ( ) region_maps code_extent_data ( self scopes [ 1 ] extent ) { CodeExtentData ParameterScope { } true false } ) ; self . scopes [ 1 ] . extent }
Returns the extent of the scope which should be exited by a
return.
Returns the extent of the scope which should be exited by a return .
&self
&self