Closed
Description
I have no idea what's causing this, but on the current nightly, this fails:
use std::thread::scoped;
fn main() { let _ = scoped(move || ()); }
with "use of unstable library feature 'thread_local_internals'." Enabling the feature works, but this should be a stable function. Interestingly, tweaking the use
works:
use std::thread;
fn main() { let _ = thread::scoped(move || ()); }
I wonder if it's because there is a (private) sub-module called scoped
which has a module-wide unstable
marker.
Version info:
[andrew@Liger scoped] rustc --version
rustc 1.0.0-nightly (93f7fe32d 2015-04-10) (built 2015-04-11)