2015-04-13 23:28:18 +05:30
|
|
|
#![feature(plugin, collections)]
|
2014-11-20 12:37:45 +05:30
|
|
|
|
2015-03-02 16:13:44 +05:30
|
|
|
#![plugin(clippy)]
|
2015-04-13 23:28:18 +05:30
|
|
|
#![deny(clippy)]
|
2015-01-10 11:56:58 +05:30
|
|
|
|
2014-11-20 12:37:45 +05:30
|
|
|
extern crate collections;
|
2015-03-02 16:13:44 +05:30
|
|
|
use collections::linked_list::LinkedList;
|
2014-11-20 12:37:45 +05:30
|
|
|
|
2016-02-22 15:42:24 +01:00
|
|
|
pub fn test(_: LinkedList<u8>) { //~ ERROR I see you're using a LinkedList!
|
2014-11-20 12:37:45 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
fn main(){
|
2015-03-02 16:13:44 +05:30
|
|
|
test(LinkedList::new());
|
2015-08-21 18:40:36 +02:00
|
|
|
}
|