about summary refs log tree commit diff
path: root/tests/ui/thread-local
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-02-05 21:24:32 +0100
committerRalf Jung <post@ralfj.de>2024-02-10 16:13:48 +0100
commit04bc624ea0af4757e4464695193ba952e3c0951d (patch)
tree286fc7eb3193e57c02d1fc7a3bb698e30d29d11b /tests/ui/thread-local
parent77f8c3caea901df51ef723251a7a58b27f96bb3a (diff)
downloadrust-04bc624ea0af4757e4464695193ba952e3c0951d.tar.gz
rust-04bc624ea0af4757e4464695193ba952e3c0951d.zip
rebless after rebase
Diffstat (limited to 'tests/ui/thread-local')
-rw-r--r--tests/ui/thread-local/thread-local-static.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/thread-local/thread-local-static.stderr b/tests/ui/thread-local/thread-local-static.stderr
index 46b6519c80b..d91742686c6 100644
--- a/tests/ui/thread-local/thread-local-static.stderr
+++ b/tests/ui/thread-local/thread-local-static.stderr
@@ -45,6 +45,7 @@ LL |     std::mem::swap(x, &mut STATIC_VAR_2)
    |
    = note: see issue #119618 <https://github.com/rust-lang/rust/issues/119618> for more information
    = help: add `#![feature(const_refs_to_static)]` to the crate attributes to enable
+   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
    = note: `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable.
    = help: to fix this, the value can be extracted to a `const` and then used.