E3007#
错误的 .. 位置。请将 .. 放在模式的最后。
错误示例#
struct S {
  a : Int
  b : Int
  c : Int
}
fn main {
  let s : S = { a : 1, b : 2, c : 3 }
  let { a, .., c } = s
  //       ^^
  // Error: Unexpected `..` here, add `, ..` behind the last field to ignore the rest of struct.
}
建议#
// ...
fn main {
  // ...
  let { a, c, .. } = s
}