fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1.2 KiB35 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:6: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
19error[E0566]: conflicting representation hints
20  --> $DIR/feature-gate-repr-simd.rs:4:8
21   |
22LL | #[repr(C)]
23   |        ^
24LL |
25LL | #[repr(simd)]
26   |        ^^^^
27   |
28   = note: `#[deny(conflicting_repr_hints)]` on by default
29   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
30   = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
31
32error: aborting due to 3 previous errors
33
34Some errors have detailed explanations: E0566, E0658.
35For more information about an error, try `rustc --explain E0566`.