#![feature(plugin)] #![plugin(clippy)] pub fn test(foo: Box>) { println!("{:?}", foo.get(0)) } fn main(){ test(Box::new(Vec::new())); }