fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
942 B30 linesraw
1error[E0658]: SIMD types are experimental and possibly buggy
2  --> $DIR/feature-gate-repr-simd.rs:1:1
3   |
4LL | #[repr(simd)]
5   | ^^^^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
8   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
9
10error[E0658]: SIMD types are experimental and possibly buggy
11  --> $DIR/feature-gate-repr-simd.rs:5:1
12   |
13LL | #[repr(simd)]
14   | ^^^^^^^^^^^^^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
17   = help: add `#![feature(repr_simd)]` to the crate attributes to enable
18
19warning[E0566]: conflicting representation hints
20  --> $DIR/feature-gate-repr-simd.rs:4:8
21   |
22LL | #[repr(C)]
23   |        ^
24LL | #[repr(simd)]
25   |        ^^^^
26
27error: aborting due to 2 previous errors
28
29Some errors have detailed explanations: E0566, E0658.
30For more information about an error, try `rustc --explain E0566`.