diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-05-30 14:06:35 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-02 15:37:15 +0000 |
| commit | 020216c31c1e4f1f56a689df8f04580504354613 (patch) | |
| tree | 5e771521237db35d4e4a0abf057f3bf4c5f55880 /tests/ui/recursion | |
| parent | b331b8b96d86a6433df957a3cc49ed51f3656135 (diff) | |
| download | rust-020216c31c1e4f1f56a689df8f04580504354613.tar.gz rust-020216c31c1e4f1f56a689df8f04580504354613.zip | |
Clarify why we are talking about a failed const eval at a random place
Diffstat (limited to 'tests/ui/recursion')
| -rw-r--r-- | tests/ui/recursion/recursive-static-definition.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/recursion/recursive-static-definition.stderr b/tests/ui/recursion/recursive-static-definition.stderr index 28df85ffaaf..7063e5c3c66 100644 --- a/tests/ui/recursion/recursive-static-definition.stderr +++ b/tests/ui/recursion/recursive-static-definition.stderr @@ -2,13 +2,13 @@ error[E0080]: encountered static that tried to initialize itself with itself --> $DIR/recursive-static-definition.rs:1:23 | LL | pub static FOO: u32 = FOO; - | ^^^ could not evaluate static initializer + | ^^^ evaluation of static initializer failed here error[E0080]: encountered static that tried to initialize itself with itself --> $DIR/recursive-static-definition.rs:9:23 | LL | pub static BAR: Foo = BAR; - | ^^^ could not evaluate static initializer + | ^^^ evaluation of static initializer failed here error: aborting due to 2 previous errors |
