about summary refs log tree commit diff
path: root/tests/ui/consts/recursive-zst-static.default.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/recursive-zst-static.default.stderr')
-rw-r--r--tests/ui/consts/recursive-zst-static.default.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/consts/recursive-zst-static.default.stderr b/tests/ui/consts/recursive-zst-static.default.stderr
index dedca16db8d..af97c945b92 100644
--- a/tests/ui/consts/recursive-zst-static.default.stderr
+++ b/tests/ui/consts/recursive-zst-static.default.stderr
@@ -1,8 +1,8 @@
-error[E0080]: could not evaluate static initializer
+error[E0080]: encountered static that tried to initialize itself with itself
   --> $DIR/recursive-zst-static.rs:10:18
    |
 LL | static FOO: () = FOO;
-   |                  ^^^ encountered static that tried to initialize itself with itself
+   |                  ^^^ could not evaluate static initializer
 
 error[E0391]: cycle detected when evaluating initializer of static `A`
   --> $DIR/recursive-zst-static.rs:13:16