about summary refs log tree commit diff
path: root/tests/ui/functions-closures/parallel-codegen-closures.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/functions-closures/parallel-codegen-closures.rs')
-rw-r--r--tests/ui/functions-closures/parallel-codegen-closures.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/functions-closures/parallel-codegen-closures.rs b/tests/ui/functions-closures/parallel-codegen-closures.rs
index 79759daba50..1842ac4db60 100644
--- a/tests/ui/functions-closures/parallel-codegen-closures.rs
+++ b/tests/ui/functions-closures/parallel-codegen-closures.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 #![allow(unused_variables)]
 #![allow(stable_features)]
@@ -6,7 +6,7 @@
 // Tests parallel codegen - this can fail if the symbol for the anonymous
 // closure in `sum` pollutes the second codegen unit from the first.
 
-// compile-flags: -C codegen_units=2
+//@ compile-flags: -C codegen_units=2
 
 #![feature(iter_arith)]