about summary refs log tree commit diff
path: root/tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs')
-rw-r--r--tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs b/tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs
index 1f87c9b9992..33d43c5f526 100644
--- a/tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs
+++ b/tests/ui/closures/2229_closure_analysis/unsafe_ptr.rs
@@ -1,4 +1,4 @@
-// edition:2021
+//@ edition:2021
 
 // Test that we restrict precision of a capture when we access a raw ptr,
 // i.e. the capture doesn't deref the raw ptr.