diff options
| author | Ryan Prichard <ryan.prichard@gmail.com> | 2015-03-07 22:57:51 -0800 |
|---|---|---|
| committer | Ryan Prichard <ryan.prichard@gmail.com> | 2015-03-07 22:58:28 -0800 |
| commit | 52124d7c807404a551c499a43736722ade9d9890 (patch) | |
| tree | 8d6831f8729ce29a7c886e7a30fb2e678cc5fba7 /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | 668c6474081a10768ef143b9984efcab5376bf68 (diff) | |
| download | rust-52124d7c807404a551c499a43736722ade9d9890.tar.gz rust-52124d7c807404a551c499a43736722ade9d9890.zip | |
Fix #23166. Get the Compiler Plugins example compiling again.
* "let met text" was previously of &String type. Now it is of &str type. * Update the slicing syntax. Both &text[] and text.slice_from() evaluate to a &str. * We were passing a u32 to expr_usize. Call expr_u32 instead.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions
