// expect: reject E2002 // phase: 6 // spec: docs/spec/16-standard-library.md ยง2.13 module test.map import std.map; fn bad(map: std.map.U64Map) -> void effects [] { let first = std.map.free::(move map); let second = std.map.free::(move map); trap; } fn main() -> u64 effects [] { return 42; }