mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-09-20 14:41:58 +00:00
12 lines
No EOL
168 B
Rust
12 lines
No EOL
168 B
Rust
#![feature(plugin)]
|
|
|
|
#[plugin]
|
|
extern crate clippy;
|
|
|
|
pub fn test(foo: Box<Vec<bool>>) {
|
|
println!("{:?}", foo.get(0))
|
|
}
|
|
|
|
fn main(){
|
|
test(Box::new(Vec::new()));
|
|
} |