Skip to content

Commit d2c9c12

Browse files
author
Stjepan Glavina
committed
Add #[stable] to Error impl
1 parent d6c3196 commit d2c9c12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/thread/local.rs

+1
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ impl fmt::Display for AccessError {
209209
}
210210
}
211211

212+
#[stable(feature = "thread_local_try_with", since = "1.26.0")]
212213
impl Error for AccessError {}
213214

214215
impl<T: 'static> LocalKey<T> {

0 commit comments

Comments
 (0)