//@ run-pass fn works(x: T) -> Vec { vec![x] } fn also_works(x: T) -> Vec { vec![x] } fn main() { let _: Vec = works(0); let _: Vec = also_works(0); let _ = works(0); let _ = also_works(0); }