@@ -418,6 +418,7 @@ public protocol KeyedEncodingContainerProtocol {
418418
419419/// A concrete container that provides a view into an encoder's storage, making
420420/// the encoded properties of an encodable type accessible by keys.
421+ @_fixed_layout // FIXME(sil-serialize-all)
421422public struct KeyedEncodingContainer < K : CodingKey > : KeyedEncodingContainerProtocol {
422423 public typealias Key = K
423424
@@ -1167,6 +1168,7 @@ public protocol KeyedDecodingContainerProtocol {
11671168
11681169/// A concrete container that provides a view into an decoder's storage, making
11691170/// the encoded properties of an decodable type accessible by keys.
1171+ @_fixed_layout // FIXME(sil-serialize-all)
11701172public struct KeyedDecodingContainer < K : CodingKey > : KeyedDecodingContainerProtocol {
11711173 public typealias Key = K
11721174
@@ -2441,6 +2443,7 @@ public protocol SingleValueDecodingContainer {
24412443//===----------------------------------------------------------------------===//
24422444
24432445/// A user-defined key for providing context during encoding and decoding.
2446+ @_fixed_layout // FIXME(sil-serialize-all)
24442447public struct CodingUserInfoKey : RawRepresentable , Equatable , Hashable {
24452448 public typealias RawValue = String
24462449
@@ -2478,6 +2481,7 @@ public struct CodingUserInfoKey : RawRepresentable, Equatable, Hashable {
24782481/// An error that occurs during the encoding of a value.
24792482public enum EncodingError : Error {
24802483 /// The context in which the error occurred.
2484+ @_fixed_layout // FIXME(sil-serialize-all)
24812485 public struct Context {
24822486 /// The path of coding keys taken to get to the point of the failing encode call.
24832487 public let codingPath : [ CodingKey ]
@@ -2551,6 +2555,7 @@ public enum EncodingError : Error {
25512555/// An error that occurs during the decoding of a value.
25522556public enum DecodingError : Error {
25532557 /// The context in which the error occurred.
2558+ @_fixed_layout // FIXME(sil-serialize-all)
25542559 public struct Context {
25552560 /// The path of coding keys taken to get to the point of the failing decode call.
25562561 public let codingPath : [ CodingKey ]
0 commit comments