pub fn build_borrowck_dataflow_data_for_fn<'a, 'tcx>(
    tcx: TyCtxt<'a, 'tcx, 'tcx>,
    body: hir::BodyId,
    cfg: &cfg::CFG)
    -> (BorrowckCtxt<'a, 'tcx>, AnalysisData<'a, 'tcx>)
{

    let mut bccx = BorrowckCtxt {
        tcx: tcx,
        free_region_map: FreeRegionMap::new(),
        stats: BorrowStats {
            loaned_paths_same: 0,
            loaned_paths_imm: 0,
            stable_paths: 0,
            guaranteed_paths: 0
        }
    };

    let dataflow_data = build_borrowck_dataflow_data(&mut bccx, cfg, body);
    (bccx, dataflow_data)
}
/// Accessor for introspective clients inspecting `AnalysisData` and
/// the `BorrowckCtxt` itself , e.g. the flowgraph visualizer.
Accessor for introspective clients inspecting `AnalysisData` and
the `BorrowckCtxt` itself , e.g. the flowgraph visualizer.
Accessor for introspective clients inspecting ` AnalysisData ` and the ` BorrowckCtxt ` itself e . g . the flowgraph visualizer .
pub fn build_borrowck_dataflow_data_for_fn<'a, 'tcx>(
    tcx: TyCtxt<'a, 'tcx, 'tcx>,
    body: hir::BodyId,
    cfg: &cfg::CFG)
    -> (BorrowckCtxt<'a, 'tcx>, AnalysisData<'a, 'tcx>)
{
    let mut bccx = BorrowckCtxt {
        tcx: tcx,
        free_region_map: FreeRegionMap::new(),
        stats: BorrowStats {
            loaned_paths_same: 0,
            loaned_paths_imm: 0,
            stable_paths: 0,
            guaranteed_paths: 0
        }
    };
    let dataflow_data = build_borrowck_dataflow_data(&mut bccx, cfg, body);
    (bccx, dataflow_data)
}
pub fn build_borrowck_dataflow_data_for_fn < ' a , ' tcx > ( tcx : TyCtxt < ' a , ' tcx , ' tcx > , body : hir :: BodyId , cfg : & cfg :: CFG ) -> ( BorrowckCtxt < ' a , ' tcx > , AnalysisData < ' a , ' tcx > ) { let mut bccx = BorrowckCtxt { tcx : tcx , free_region_map : FreeRegionMap :: new ( ) , stats : BorrowStats { loaned_paths_same : 0 , loaned_paths_imm : 0 , stable_paths : 0 , guaranteed_paths : 0 } } ; let dataflow_data = build_borrowck_dataflow_data ( & mut bccx , cfg , body ) ; ( bccx , dataflow_data ) }
Accessor for introspective clients inspecting `AnalysisData` and
the `BorrowckCtxt` itself , e.g.
Accessor for introspective clients inspecting ` AnalysisData ` and the ` BorrowckCtxt ` itself e . g .
tcx
TyCtxt<'a, 'tcx, 'tcx>
body
hir::BodyId
cfg
&cfg::CFG