diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-27 18:48:21 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-01 00:12:34 +1100 |
| commit | 218eae06ab7c7858057cc6bbd28fb4e0db9f5264 (patch) | |
| tree | d5aeeb2e58f3c30ba64f35c7d8a1f0eddb55ca8e /src/libstd/rt/local_ptr.rs | |
| parent | fbdd3b2ef6196f236a8333b7435f1b31390c0194 (diff) | |
Publicise types/add #[allow(visible_private_types)] to a variety of places.
There's a lot of these types in the compiler libraries, and a few of the older or private stdlib ones. Some types are obviously meant to be public, others not so much.
Diffstat (limited to 'src/libstd/rt/local_ptr.rs')
| -rw-r--r-- | src/libstd/rt/local_ptr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rt/local_ptr.rs b/src/libstd/rt/local_ptr.rs index d4e57ab19b1..898004c665d 100644 --- a/src/libstd/rt/local_ptr.rs +++ b/src/libstd/rt/local_ptr.rs @@ -366,6 +366,7 @@ pub mod native { #[inline] #[cfg(not(test))] + #[allow(visible_private_types)] pub fn maybe_tls_key() -> Option<tls::Key> { unsafe { // NB: This is a little racy because, while the key is |
