diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-03 15:36:11 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-03 20:11:20 -0800 |
| commit | d0029a47c274a2ce97641b80ba34cf6fbfa2d73e (patch) | |
| tree | 25e66a127143ade43d3afe8772d85a71762d3c53 /src/libstd | |
| parent | 9db593c90af04dbf8f9bebb8a3650ff9609d10f2 (diff) | |
| parent | a5ddacf001e4207efd732ecb04250783a64f36c8 (diff) | |
| download | rust-d0029a47c274a2ce97641b80ba34cf6fbfa2d73e.tar.gz rust-d0029a47c274a2ce97641b80ba34cf6fbfa2d73e.zip | |
rollup merge of #21910: Manishearth/missing_stability
Currently, if a `#![staged_api]` crate contains an exported item without a stability marker (or inherited stability), the item is useless. This change introduces a check to ensure that all exported items have a defined stability. it also introduces the `unmarked_api` feature, which lets users import unmarked features. While this PR should in theory forbid these from existing, in practice we can't be so sure; so this lets users bypass this check instead of having to wait for the library and/or compiler to be fixed (since otherwise this is a hard error). r? @aturon
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/thread_local/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/thread_local/mod.rs b/src/libstd/thread_local/mod.rs index d4d777789dd..9de5fd1c770 100644 --- a/src/libstd/thread_local/mod.rs +++ b/src/libstd/thread_local/mod.rs @@ -45,6 +45,7 @@ pub mod scoped; // Sure wish we had macro hygiene, no? #[doc(hidden)] +#[stable(feature = "rust1", since = "1.0.0")] pub mod __impl { pub use super::imp::Key as KeyInner; pub use super::imp::destroy_value; |
