diff options
| author | Cameron Hart <cameron.hart@gmail.com> | 2017-12-26 10:24:23 +1100 |
|---|---|---|
| committer | Cameron Hart <cameron.hart@gmail.com> | 2018-01-23 08:36:13 +1100 |
| commit | 651ea8ea44d8ac8a02dc357412eb73f830057cae (patch) | |
| tree | 820d926f0c4be2a27bd66376a1b24bb107f41534 /src/test/ui/span | |
| parent | fdc18b3067b5bad257ccbe7400e3c4fb617e9e18 (diff) | |
Stabilized `#[repr(align(x))]` attribute (RFC 1358)
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/gated-features-attr-spans.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/span/gated-features-attr-spans.stderr | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/test/ui/span/gated-features-attr-spans.rs b/src/test/ui/span/gated-features-attr-spans.rs index ace185d0169..83a4c5d5dd2 100644 --- a/src/test/ui/span/gated-features-attr-spans.rs +++ b/src/test/ui/span/gated-features-attr-spans.rs @@ -10,7 +10,7 @@ #![feature(attr_literals)] -#[repr(align(16))] //~ ERROR is experimental +#[repr(align(16))] struct Gem { mohs_hardness: u8, poofed: bool, diff --git a/src/test/ui/span/gated-features-attr-spans.stderr b/src/test/ui/span/gated-features-attr-spans.stderr index 74a2c1d742b..f15c4a72c5a 100644 --- a/src/test/ui/span/gated-features-attr-spans.stderr +++ b/src/test/ui/span/gated-features-attr-spans.stderr @@ -1,11 +1,3 @@ -error[E0658]: the struct `#[repr(align(u16))]` attribute is experimental (see issue #33626) - --> $DIR/gated-features-attr-spans.rs:13:1 - | -13 | #[repr(align(16))] //~ ERROR is experimental - | ^^^^^^^^^^^^^^^^^^ - | - = help: add #![feature(repr_align)] to the crate attributes to enable - error[E0658]: SIMD types are experimental and possibly buggy (see issue #27731) --> $DIR/gated-features-attr-spans.rs:20:1 | @@ -30,5 +22,5 @@ warning: `#[must_use]` on functions is experimental (see issue #43302) | = help: add #![feature(fn_must_use)] to the crate attributes to enable -error: aborting due to 2 previous errors +error: aborting due to previous error |
