2015-10-17 07:19:55 -05:00
|
|
|
fn types() {
|
|
|
|
let x: [Vec<_>] = [];
|
|
|
|
let y: *mut [SomeType; konst_funk()] = expr();
|
2015-10-17 08:56:53 -05:00
|
|
|
let z: (// #digits
|
|
|
|
usize,
|
|
|
|
// exp
|
|
|
|
i16) = funk();
|
|
|
|
let z: (usize /* #digits */, i16 /* exp */) = funk();
|
2015-10-17 07:19:55 -05:00
|
|
|
}
|