diff options
Diffstat (limited to 'tests/ui/consts/recursive.rs')
| -rw-r--r-- | tests/ui/consts/recursive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/recursive.rs b/tests/ui/consts/recursive.rs index b5703d11310..ed23baf0768 100644 --- a/tests/ui/consts/recursive.rs +++ b/tests/ui/consts/recursive.rs @@ -4,6 +4,6 @@ const fn f<T>(x: T) { //~ WARN function cannot return without recursing f(x); } -const X: () = f(1); //~ ERROR evaluation of constant value failed +const X: () = f(1); //~ ERROR reached the configured maximum number of stack frames fn main() {} |
