mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
14 lines
262 B
Rust
14 lines
262 B
Rust
#![feature(plugin, collections)]
|
|
|
|
#![plugin(clippy)]
|
|
#![deny(clippy)]
|
|
|
|
extern crate collections;
|
|
use collections::linked_list::LinkedList;
|
|
|
|
pub fn test(_: LinkedList<u8>) { //~ ERROR I see you're using a LinkedList!
|
|
}
|
|
|
|
fn main(){
|
|
test(LinkedList::new());
|
|
}
|