Function rustc_trans::trans::tvec::trans_slice_vecExperimental
[-]
[+]
[src]
pub fn trans_slice_vec<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, slice_expr: &Expr, content_expr: &Expr) -> DatumBlock<'blk, 'tcx, Expr>
&[...] allocates memory on the stack and writes the values into it, returning the vector (the caller must make the reference). "..." is similar except that the memory can be statically allocated and we return a reference (strings are always by-ref).