10 lines
233 B
Rust
10 lines
233 B
Rust
// expect: reject E7005
|
|
// phase: 6
|
|
// spec: docs/spec/16-standard-library.md §2.4
|
|
module test.bounded
|
|
import std.bytes;
|
|
|
|
fn main() -> u8
|
|
effects []
|
|
{ var buf: [u8; 4] = zero; let result = std.bytes.copy(ref buf, b"x"); return 0; }
|