mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-25 14:10:32 +00:00
12 lines
No EOL
164 B
Rust
12 lines
No EOL
164 B
Rust
#![feature(phase)]
|
|
|
|
#[phase(plugin)]
|
|
extern crate rust_clippy;
|
|
|
|
pub fn test(foo: Box<Vec<uint>>) {
|
|
println!("{}", foo)
|
|
}
|
|
|
|
fn main(){
|
|
test(box Vec::new());
|
|
} |