mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
12 lines
231 B
Rust
12 lines
231 B
Rust
//@ aux-build:internal_unstable.rs
|
|
|
|
#![allow(dead_code)]
|
|
|
|
extern crate internal_unstable;
|
|
|
|
|
|
thread_local!(static FOO: () = ());
|
|
thread_local!(static BAR: () = internal_unstable::unstable()); //~ ERROR use of unstable
|
|
|
|
fn main() {}
|