Skip to content

Commit

Permalink
Add #[stable] to Error impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Stjepan Glavina committed Aug 4, 2019
1 parent d6c3196 commit d2c9c12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/thread/local.rs
Expand Up @@ -209,6 +209,7 @@ impl fmt::Display for AccessError {
}
}

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

impl<T: 'static> LocalKey<T> {
Expand Down

0 comments on commit d2c9c12

Please sign in to comment.