rust/tests/target/type.rs
2015-10-19 20:15:36 +02:00

10 lines
238 B
Rust

fn types() {
let x: [Vec<_>] = [];
let y: *mut [SomeType; konst_funk()] = expr();
let z: (// #digits
usize,
// exp
i16) = funk();
let z: (usize /* #digits */, i16 /* exp */) = funk();
}