// expect: reject E7005 // phase: 6 // spec: docs/spec/16-standard-library.md ยง2.10 module test.vec import std.vec; import std.option; fn bad(value: ref>>) -> void effects [] { let result = std.vec.get::>(value, 0); } fn main() -> u64 effects [] { return 42; }