diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-01-19 16:24:49 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-03-03 18:50:28 +0100 |
| commit | 27d8cd7db046746bbfbb0bd3e1df40757cabb1fe (patch) | |
| tree | 73d8e9794fdf393e901f858007657eb14e99a7d0 /src/test/ui/repr | |
| parent | 3c7947ee43b14f124b41f5de7c247dc8e47a18fa (diff) | |
| download | rust-27d8cd7db046746bbfbb0bd3e1df40757cabb1fe.tar.gz rust-27d8cd7db046746bbfbb0bd3e1df40757cabb1fe.zip | |
Cleanup feature gates.
Diffstat (limited to 'src/test/ui/repr')
| -rw-r--r-- | src/test/ui/repr/repr-transparent-other-reprs.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/repr/repr-transparent-other-reprs.stderr | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/test/ui/repr/repr-transparent-other-reprs.rs b/src/test/ui/repr/repr-transparent-other-reprs.rs index e3671e7c493..0cd0edf32f2 100644 --- a/src/test/ui/repr/repr-transparent-other-reprs.rs +++ b/src/test/ui/repr/repr-transparent-other-reprs.rs @@ -1,5 +1,3 @@ -#![feature(repr_align)] - // See also repr-transparent.rs #[repr(transparent, C)] //~ ERROR cannot have other repr diff --git a/src/test/ui/repr/repr-transparent-other-reprs.stderr b/src/test/ui/repr/repr-transparent-other-reprs.stderr index 9b48bb3a43d..d92c358110c 100644 --- a/src/test/ui/repr/repr-transparent-other-reprs.stderr +++ b/src/test/ui/repr/repr-transparent-other-reprs.stderr @@ -1,23 +1,23 @@ error[E0692]: transparent struct cannot have other repr hints - --> $DIR/repr-transparent-other-reprs.rs:5:8 + --> $DIR/repr-transparent-other-reprs.rs:3:8 | LL | #[repr(transparent, C)] | ^^^^^^^^^^^ ^ error[E0692]: transparent struct cannot have other repr hints - --> $DIR/repr-transparent-other-reprs.rs:10:8 + --> $DIR/repr-transparent-other-reprs.rs:8:8 | LL | #[repr(transparent, packed)] | ^^^^^^^^^^^ ^^^^^^ error[E0692]: transparent struct cannot have other repr hints - --> $DIR/repr-transparent-other-reprs.rs:13:8 + --> $DIR/repr-transparent-other-reprs.rs:11:8 | LL | #[repr(transparent, align(2))] | ^^^^^^^^^^^ ^^^^^^^^ error[E0692]: transparent struct cannot have other repr hints - --> $DIR/repr-transparent-other-reprs.rs:16:8 + --> $DIR/repr-transparent-other-reprs.rs:14:8 | LL | #[repr(transparent)] | ^^^^^^^^^^^ |
