Function rustc_codegen_llvm::debuginfo::metadata::closure_saved_names_of_captured_variables   [−][src]
fn closure_saved_names_of_captured_variables<'tcx>(
    tcx: TyCtxt<'tcx>, 
    def_id: DefId
) -> Vec<String>Expand description
Returns names of captured upvars for closures and generators.
Here are some examples:
- name__field1__field2when the upvar is captured by value.
- _ref__name__fieldwhen the upvar is captured by reference.