7 lines
249 B
Rust
7 lines
249 B
Rust
// expect: reject E7005
|
|
// phase: 6
|
|
// spec: docs/spec/16-standard-library.md §2.5–§2.7
|
|
module test.text
|
|
import std.encoding.hex;
|
|
fn main() -> u8 effects [] { var b: [u8; 4] = zero; let result = std.encoding.hex.encode(ref b, b"x"); return 0; }
|