in Sources/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift [563:576]
func nestedContainer<NestedKey: CodingKey>(
keyedBy type: NestedKey.Type
) throws -> KeyedDecodingContainer<NestedKey> {
let key = _Key(index)
let value = try _decodeNext([String: Value].self)
guard case let .dictionary(v) = value else {
throw DecodingError._typeMismatch(at: codingPath + [key],
expectation: [String: Value].self,
reality: value)
}
let nested = MinimalDecoder.KeyedContainer<NestedKey>(base: base, parent: parent, input: v, key: key)
pendingContainer = nested
return .init(nested)
}