summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-repr-simd.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /tests/ui/feature-gates/feature-gate-repr-simd.stderr
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-repr-simd.stderr')
-rw-r--r--tests/ui/feature-gates/feature-gate-repr-simd.stderr35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-repr-simd.stderr b/tests/ui/feature-gates/feature-gate-repr-simd.stderr
new file mode 100644
index 000000000..5b1270a19
--- /dev/null
+++ b/tests/ui/feature-gates/feature-gate-repr-simd.stderr
@@ -0,0 +1,35 @@
+error[E0658]: SIMD types are experimental and possibly buggy
+ --> $DIR/feature-gate-repr-simd.rs:1:1
+ |
+LL | #[repr(simd)]
+ | ^^^^^^^^^^^^^
+ |
+ = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
+ = help: add `#![feature(repr_simd)]` to the crate attributes to enable
+
+error[E0658]: SIMD types are experimental and possibly buggy
+ --> $DIR/feature-gate-repr-simd.rs:6:1
+ |
+LL | #[repr(simd)]
+ | ^^^^^^^^^^^^^
+ |
+ = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
+ = help: add `#![feature(repr_simd)]` to the crate attributes to enable
+
+error[E0566]: conflicting representation hints
+ --> $DIR/feature-gate-repr-simd.rs:4:8
+ |
+LL | #[repr(C)]
+ | ^
+LL |
+LL | #[repr(simd)]
+ | ^^^^
+ |
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
+ = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
+ = note: `#[deny(conflicting_repr_hints)]` on by default
+
+error: aborting due to 3 previous errors
+
+Some errors have detailed explanations: E0566, E0658.
+For more information about an error, try `rustc --explain E0566`.