Tin

Examples · learn/05-structs · 107 of 339

missing-field.fails

examples/learn/05-structs/missing-field.fails.tintin run examples/learn/05-structs/missing-field.fails.tin
type Point = { x: int, y: int }

fn main() {
  let p = Point { x: 1 }
}