]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-repr-simd.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-repr-simd.stderr
1 error[E0658]: SIMD types are experimental and possibly buggy
2   --> $DIR/feature-gate-repr-simd.rs:1:1
3    |
4 LL | #[repr(simd)]
5    | ^^^^^^^^^^^^^
6    |
7    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
8    = help: add `#![feature(repr_simd)]` to the crate attributes to enable
9
10 error[E0658]: SIMD types are experimental and possibly buggy
11   --> $DIR/feature-gate-repr-simd.rs:6:1
12    |
13 LL | #[repr(simd)]
14    | ^^^^^^^^^^^^^
15    |
16    = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
17    = help: add `#![feature(repr_simd)]` to the crate attributes to enable
18
19 error[E0566]: conflicting representation hints
20   --> $DIR/feature-gate-repr-simd.rs:4:8
21    |
22 LL | #[repr(C)]
23    |        ^
24 LL |
25 LL | #[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
32 error: aborting due to 3 previous errors
33
34 Some errors have detailed explanations: E0566, E0658.
35 For more information about an error, try `rustc --explain E0566`.