提交 588d37c6 编写于 作者: B bors

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
......@@ -187,7 +187,7 @@
////////////////////////////////////////////////////////////////////////////////
#[macro_use] mod local;
#[macro_use] mod scoped;
#[macro_use] mod scoped_tls;
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::local::{LocalKey, LocalKeyState};
......@@ -195,10 +195,10 @@
#[unstable(feature = "scoped_tls",
reason = "scoped TLS has yet to have wide enough use to fully \
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::scoped::__impl as __scoped;
#[doc(hidden)] pub use self::scoped_tls::__impl as __scoped;
////////////////////////////////////////////////////////////////////////////////
// Builder
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册