about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/closure-calling-parent-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/impl-trait/closure-calling-parent-fn.rs')
-rw-r--r--src/test/ui/impl-trait/closure-calling-parent-fn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/impl-trait/closure-calling-parent-fn.rs b/src/test/ui/impl-trait/closure-calling-parent-fn.rs
index 58d7875ccd0..9dab334a217 100644
--- a/src/test/ui/impl-trait/closure-calling-parent-fn.rs
+++ b/src/test/ui/impl-trait/closure-calling-parent-fn.rs
@@ -5,7 +5,7 @@
 // `foo` and hence is treated opaquely within the closure body.  This
 // resulted in a failed subtype relationship.
 //
-// run-pass
+// check-pass
 
 fn foo() -> impl Copy { || foo(); }
 fn bar() -> impl Copy { || bar(); }