mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
12 lines
330 B
Rust
12 lines
330 B
Rust
// The feature gate error may be emitted twice, but only on certain targets
|
|
//@ dont-require-annotations: ERROR
|
|
//@ dont-check-compiler-stderr
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
thread_local! {
|
|
//~^ ERROR the `#[rustc_align_static]` attribute is an experimental feature
|
|
#[rustc_align_static(16)]
|
|
static THREAD_LOCAL: u16 = 0;
|
|
}
|