Function rustc_trans::trans::debuginfo::create_match_binding_metadataExperimental [-]  [+] [src]

pub fn create_match_binding_metadata<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, variable_ident: Ident, binding: BindingInfo<'tcx>)

Creates debug information for a local variable introduced in the head of a match-statement arm.

Adds the created metadata nodes directly to the crate's IR.