]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/obsolete-attr.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / attributes / obsolete-attr.rs
1 // Obsolete attributes fall back to unstable custom attributes.
2
3 #[ab_isize = "stdcall"] extern "C" {}
4 //~^ ERROR cannot find attribute `ab_isize` in this scope
5
6 #[fixed_stack_segment] fn f() {}
7 //~^ ERROR cannot find attribute `fixed_stack_segment` in this scope
8
9 fn main() {}