]> git.lizzy.rs Git - rust.git/commit
Use `#[allow_internal_unstable]` for `thread_local!`
authorHuon Wilson <dbau.pp+github@gmail.com>
Sun, 1 Mar 2015 03:09:42 +0000 (14:09 +1100)
committerHuon Wilson <dbau.pp+github@gmail.com>
Thu, 5 Mar 2015 13:18:29 +0000 (00:18 +1100)
commitab7ef7402bfab1c767b8be80f7e46947494f6d21
tree5270259da336c989e705f29202197b703d6a5022
parent84b060ce29bf7dd65fc23e855ad7c5a8748d806c
Use `#[allow_internal_unstable]` for `thread_local!`

This destabilises all the implementation details of `thread_local!`,
since they do not *need* to be stable with the new attribute.
src/libstd/lib.rs
src/libstd/sys/common/thread_local.rs
src/libstd/thread_local/mod.rs
src/libstd/thread_local/scoped.rs
src/test/compile-fail/internal-unstable-thread-local.rs [new file with mode: 0644]