]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/dlist.rs
Fix deploy.sh III
[rust.git] / tests / compile-fail / dlist.rs
1 #![feature(plugin, collections)]
2
3 #![plugin(clippy)]
4 #![deny(clippy)]
5
6 extern crate collections;
7 use collections::linked_list::LinkedList;
8
9 pub fn test(_: LinkedList<u8>) {  //~ ERROR I see you're using a LinkedList!
10 }
11
12 fn main(){
13     test(LinkedList::new());
14 }