about summary refs log tree commit diff
path: root/library/std/src/thread/local.rs
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2025-09-18 10:48:18 -0400
committerBen Kimock <kimockb@gmail.com>2025-09-21 13:12:20 -0400
commitdf58fd8cf7710f7516c541769a141f0235978dab (patch)
tree01fb95a4eb0082b53f0e0f833d8a2fd507b54385 /library/std/src/thread/local.rs
parent888679013d1f424adef06267f3630069b4cabd40 (diff)
downloadrust-df58fd8cf7710f7516c541769a141f0235978dab.tar.gz
rust-df58fd8cf7710f7516c541769a141f0235978dab.zip
Change the cfg to a dash
Diffstat (limited to 'library/std/src/thread/local.rs')
-rw-r--r--library/std/src/thread/local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs
index b49de8d1b60..0a6f2e5d508 100644
--- a/library/std/src/thread/local.rs
+++ b/library/std/src/thread/local.rs
@@ -230,7 +230,7 @@ impl fmt::Display for AccessError {
 impl Error for AccessError {}
 
 // This ensures the panicking code is outlined from `with` for `LocalKey`.
-#[cfg_attr(not(panic = "immediate_abort"), inline(never))]
+#[cfg_attr(not(panic = "immediate-abort"), inline(never))]
 #[track_caller]
 #[cold]
 fn panic_access_error(err: AccessError) -> ! {