about summary refs log tree commit diff
path: root/src/test/compile-fail/lint-heap-memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/lint-heap-memory.rs')
-rw-r--r--src/test/compile-fail/lint-heap-memory.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/compile-fail/lint-heap-memory.rs b/src/test/compile-fail/lint-heap-memory.rs
index 8899f3f5dbb..fa359dcd538 100644
--- a/src/test/compile-fail/lint-heap-memory.rs
+++ b/src/test/compile-fail/lint-heap-memory.rs
@@ -23,8 +23,6 @@ fn main() {
 
     @2; //~ ERROR type uses managed
 
-    fn f(_: @Clone) {} //~ ERROR type uses managed
-
     ~2; //~ ERROR type uses owned
     ~[1]; //~ ERROR type uses owned
     //~^ ERROR type uses owned