1 2 3 4 5 6 7 8 9 10 11 12
// -*- rust -*- // error-pattern: mismatched types // Issue #51. type point = rec(int x, int y); fn main() { let point p = rec(x=10); log p.y; }