8 lines
262 B
Rust
8 lines
262 B
Rust
// expect: reject E7001 E7001 E7001
|
|
// phase: 6
|
|
// spec: docs/spec/15-source-language.md §10
|
|
module collection
|
|
fn a() -> bool effects [] { return !false; }
|
|
fn b() -> u64 effects [] { var x = 1u64; return x; }
|
|
fn main() -> void effects [] { let x = [zero; 3]; }
|