]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-allow-internal-unstable-struct.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / feature-gates / feature-gate-allow-internal-unstable-struct.rs
1 // checks that this attribute is caught on non-macro items.
2 // this needs a different test since this is done after expansion
3
4 #[allow_internal_unstable()] //~ ERROR allow_internal_unstable side-steps
5 //~| ERROR attribute should
6 struct S;
7
8 fn main() {}