Function rustc_trans::trans::tvec::trans_lit_strExperimental
[-]
[+]
[src]
pub fn trans_lit_str<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, lit_expr: &Expr, str_lit: InternedString, dest: Dest) -> Block<'blk, 'tcx>
Literal strings translate to slices into static memory. This is different from trans_slice_vstore() above because it doesn't need to copy the content anywhere.