about summary refs log tree commit diff
path: root/tests/ui/ret-non-nil.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/ret-non-nil.rs')
-rw-r--r--tests/ui/ret-non-nil.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/ret-non-nil.rs b/tests/ui/ret-non-nil.rs
index 86c02bf38e6..1d039ffe18c 100644
--- a/tests/ui/ret-non-nil.rs
+++ b/tests/ui/ret-non-nil.rs
@@ -1,4 +1,4 @@
-// error-pattern: `return;` in a function whose return type is not `()`
+//@ error-pattern: `return;` in a function whose return type is not `()`
 
 fn f() { return; }