// expect: reject E2101 // phase: 6 // spec: docs/spec/16-standard-library.md ยง2.13 module test.map import std.map; fn bad(map: mut>) -> void effects [] { ref storage = map.storage; ref slots = buffer.view(storage); let result = std.map.remove::(map, 7); } fn main() -> u64 effects [] { return 42; }