-#![feature(plugin)]
-#![plugin(clippy)]
+#![feature(tool_lints)]
+
use std::sync::Arc;
use std::mem::forget as forgetSomething;
use std::mem as memstuff;
-#[deny(mem_forget)]
-#[allow(forget_copy)]
+#[warn(clippy::mem_forget)]
+#[allow(clippy::forget_copy)]
fn main() {
let five: i32 = 5;
forgetSomething(five);