Auto merge of #24362 - alexcrichton:issue-24334, r=huonw

Make sure the unstable `scoped` modules isn't named the same as the `scoped`
function.

cc #24334
This commit is contained in:
bors 2015-04-13 14:57:13 +00:00
commit 588d37c653
2 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,7 @@ use time::Duration;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#[macro_use] mod local; #[macro_use] mod local;
#[macro_use] mod scoped; #[macro_use] mod scoped_tls;
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]
pub use self::local::{LocalKey, LocalKeyState}; pub use self::local::{LocalKey, LocalKeyState};
@ -195,10 +195,10 @@ pub use self::local::{LocalKey, LocalKeyState};
#[unstable(feature = "scoped_tls", #[unstable(feature = "scoped_tls",
reason = "scoped TLS has yet to have wide enough use to fully \ reason = "scoped TLS has yet to have wide enough use to fully \
consider stabilizing its interface")] consider stabilizing its interface")]
pub use self::scoped::ScopedKey; pub use self::scoped_tls::ScopedKey;
#[doc(hidden)] pub use self::local::__impl as __local; #[doc(hidden)] pub use self::local::__impl as __local;
#[doc(hidden)] pub use self::scoped::__impl as __scoped; #[doc(hidden)] pub use self::scoped_tls::__impl as __scoped;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Builder // Builder