11 lines
312 B
Rust
11 lines
312 B
Rust
// expect: reject E7005
|
|
// phase: 6
|
|
// spec: docs/spec/15-source-language.md §13; docs/spec/16-standard-library.md §2.6
|
|
module test.text_wrong_result
|
|
import std.encoding.hex;
|
|
import std.encoding.base64;
|
|
|
|
fn main() -> std.encoding.hex.EncodeResult
|
|
effects []
|
|
{ return std.encoding.base64.EncodeResult::ok(4); }
|