diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index d64483c5ac12a..f85b5d632f16b 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -209,6 +209,7 @@ impl fmt::Display for AccessError { } } +#[stable(feature = "thread_local_try_with", since = "1.26.0")] impl Error for AccessError {} impl LocalKey {