You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/feature-gates/feature-gate-repr-simd.stderr
+41-3Lines changed: 41 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,26 @@ LL | #[repr(simd)]
18
18
= help: add `#![feature(repr_simd)]` to the crate attributes to enable
19
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
20
21
+
error[E0658]: SIMD types are experimental and possibly buggy
22
+
--> $DIR/feature-gate-repr-simd.rs:9:1
23
+
|
24
+
LL | #[repr(simd)]
25
+
| ^^^^^^^^^^^^^
26
+
|
27
+
= note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
28
+
= help: add `#![feature(repr_simd)]` to the crate attributes to enable
29
+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
30
+
31
+
error[E0658]: SIMD types are experimental and possibly buggy
32
+
--> $DIR/feature-gate-repr-simd.rs:13:1
33
+
|
34
+
LL | #[repr(simd)]
35
+
| ^^^^^^^^^^^^^
36
+
|
37
+
= note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
38
+
= help: add `#![feature(repr_simd)]` to the crate attributes to enable
39
+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
40
+
21
41
error[E0566]: conflicting representation hints
22
42
--> $DIR/feature-gate-repr-simd.rs:4:8
23
43
|
@@ -31,10 +51,28 @@ LL | #[repr(simd)]
31
51
= note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
32
52
= note: `#[deny(conflicting_repr_hints)]` on by default
33
53
34
-
error: aborting due to 3 previous errors
54
+
error[E0517]: attribute should be applied to a struct
55
+
--> $DIR/feature-gate-repr-simd.rs:9:8
56
+
|
57
+
LL | #[repr(simd)]
58
+
| ^^^^
59
+
LL |
60
+
LL | union U {f: u32}
61
+
| ---------------- not a struct
62
+
63
+
error[E0517]: attribute should be applied to a struct
64
+
--> $DIR/feature-gate-repr-simd.rs:13:8
65
+
|
66
+
LL | #[repr(simd)]
67
+
| ^^^^
68
+
LL |
69
+
LL | enum E { X }
70
+
| ------------ not a struct
71
+
72
+
error: aborting due to 7 previous errors
35
73
36
-
Some errors have detailed explanations: E0566, E0658.
37
-
For more information about an error, try `rustc --explain E0566`.
74
+
Some errors have detailed explanations: E0517, E0566, E0658.
75
+
For more information about an error, try `rustc --explain E0517`.
Copy file name to clipboardExpand all lines: tests/ui/repr/issue-83505-repr-simd.stderr
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,21 @@
1
1
error: free static item without body
2
-
--> $DIR/issue-83505-repr-simd.rs:9:1
2
+
--> $DIR/issue-83505-repr-simd.rs:11:1
3
3
|
4
4
LL | static CLs: Es;
5
5
| ^^^^^^^^^^^^^^-
6
6
| |
7
7
| help: provide a definition for the static: `= <expr>;`
8
8
9
+
error[E0658]: SIMD types are experimental and possibly buggy
10
+
--> $DIR/issue-83505-repr-simd.rs:5:1
11
+
|
12
+
LL | #[repr(simd)]
13
+
| ^^^^^^^^^^^^^
14
+
|
15
+
= note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
16
+
= help: add `#![feature(repr_simd)]` to the crate attributes to enable
17
+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
18
+
9
19
error[E0517]: attribute should be applied to a struct
10
20
--> $DIR/issue-83505-repr-simd.rs:5:8
11
21
|
@@ -24,7 +34,7 @@ LL | #[repr(simd)]
24
34
LL | enum Es {}
25
35
| ------- zero-variant enum
26
36
27
-
error: aborting due to 3 previous errors
37
+
error: aborting due to 4 previous errors
28
38
29
-
Some errors have detailed explanations: E0084, E0517.
39
+
Some errors have detailed explanations: E0084, E0517, E0658.
30
40
For more information about an error, try `rustc --explain E0084`.
0 commit comments