about summary refs log tree commit diff
path: root/tests/ui/nll/assign-while-to-immutable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nll/assign-while-to-immutable.rs')
-rw-r--r--tests/ui/nll/assign-while-to-immutable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/nll/assign-while-to-immutable.rs b/tests/ui/nll/assign-while-to-immutable.rs
index 24eaa8a2388..991f9c3e45c 100644
--- a/tests/ui/nll/assign-while-to-immutable.rs
+++ b/tests/ui/nll/assign-while-to-immutable.rs
@@ -1,7 +1,7 @@
 // We used to incorrectly assign to `x` twice when generating MIR for this
 // function, preventing this from compiling.
 
-// check-pass
+//@ check-pass
 
 fn main() {
     let x: () = while false {