6 lines
83 B
Rust
6 lines
83 B
Rust
|
|
|
|
fn f<@T>(t: T) { let t1: T = t; }
|
|
|
|
fn main() { let x = {x: @10, y: @12}; f(x); }
|