2015-01-10 07:26:58 +01:00
|
|
|
#![feature(plugin)]
|
2014-11-19 09:57:34 +01:00
|
|
|
|
2015-01-10 07:26:58 +01:00
|
|
|
#[plugin]
|
2014-12-26 01:00:03 +01:00
|
|
|
extern crate clippy;
|
2014-11-19 09:57:34 +01:00
|
|
|
|
2015-01-10 07:26:58 +01:00
|
|
|
pub fn test(foo: Box<Vec<bool>>) {
|
|
|
|
println!("{:?}", foo.get(0))
|
2014-11-19 09:57:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main(){
|
2015-01-10 07:26:58 +01:00
|
|
|
test(Box::new(Vec::new()));
|
2014-11-19 09:57:34 +01:00
|
|
|
}
|