// expect: reject E7004 // phase: 6 // spec: docs/spec/16-standard-library.md §2.5–§2.7 module test.text import std.encoding.hex; fn main() -> usize effects [] { var b: [u8; 4] = zero; match std.encoding.hex.decode(mut b, b"00") { std.encoding.hex.DecodeResult::ok(count) => { return count; } } }