blob: b6c300e5cbe6166f14852cffb22fd160f4648a17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![crate_type = "lib"]
#[align(16)]
//~^ ERROR the `#[align]` attribute is an experimental feature
fn requires_alignment() {}
trait MyTrait {
#[align]
//~^ ERROR the `#[align]` attribute is an experimental feature
//~| ERROR malformed `align` attribute input
fn myfun();
}
|