518dc52f85
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
34 lines
498 B
Rust
34 lines
498 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
fn f() {
|
|
let foo:
|
|
{a: int,
|
|
b: int,
|
|
c: int,
|
|
d: int,
|
|
e: int,
|
|
f: int,
|
|
g: int,
|
|
h: int,
|
|
i: int,
|
|
j: int,
|
|
k: int,
|
|
l: int} =
|
|
{a: 0,
|
|
b: 0,
|
|
c: 0,
|
|
d: 0,
|
|
e: 0,
|
|
f: 0,
|
|
g: 0,
|
|
h: 0,
|
|
i: 0,
|
|
j: 0,
|
|
k: 0,
|
|
l: 0};
|
|
}
|
|
|
|
fn main() { f(); }
|