about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/function-call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/generic_const_exprs/function-call.rs')
-rw-r--r--tests/ui/const-generics/generic_const_exprs/function-call.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/const-generics/generic_const_exprs/function-call.rs b/tests/ui/const-generics/generic_const_exprs/function-call.rs
index 3c866333d60..d754fcdaddc 100644
--- a/tests/ui/const-generics/generic_const_exprs/function-call.rs
+++ b/tests/ui/const-generics/generic_const_exprs/function-call.rs
@@ -1,5 +1,5 @@
-// check-pass
-// compile-flags: -Zdeduplicate-diagnostics=yes
+//@ check-pass
+//@ compile-flags: -Zdeduplicate-diagnostics=yes
 
 const fn foo<T>() -> usize {
     // We might instead branch on `std::mem::size_of::<*mut T>() < 8` here,