Jonathan Brouwer
b1bc4c601c
Rollup merge of #158523 - JonathanBrouwer:repr_simd, r=mejrs
...
Fix feature gate for `repr(simd)`
The following code currently compiles on stable rust:
```rust
#[repr(simd)]
println!()
```
This has the following behavior:
- 1.90 and earlier give an "unused attribute warning"
- 1.91 ..= beta give no diagnostic output
- nightly gives the following:
```
warning: `#[repr(simd)]` attribute cannot be used on macro calls
--> src/main.rs:4:5
|
4 | #[repr(simd)]
| ^^^^^^^^^^^^^
|
= help: `#[repr(simd)]` can only be applied to structs
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
```
This PR changes this to a feature gate **error**.
r? @mejrs
2026-07-11 19:05:14 +02:00
..
2026-06-30 09:01:03 +00:00
2026-06-21 23:03:02 +02:00
2026-06-02 10:00:43 +02:00
2026-06-11 20:32:52 -04:00
2026-06-13 16:19:40 +02:00
2026-05-30 11:38:38 +02:00
2026-05-30 11:38:38 +02:00
2026-05-31 17:25:43 +02:00
2026-05-31 17:25:43 +02:00
2026-04-26 10:07:00 +02:00
2026-04-26 10:07:00 +02:00
2026-04-26 10:07:00 +02:00
2026-05-27 14:43:25 -03:00
2026-06-28 18:39:17 +02:00
2026-06-28 18:39:17 +02:00
2026-04-17 12:37:58 +02:00
2026-04-17 12:37:58 +02:00
2026-04-17 12:37:58 +02:00
2026-04-17 12:37:58 +02:00
2026-05-30 11:33:50 +02:00
2026-05-30 11:33:50 +02:00
2026-07-05 19:07:05 +02:00
2026-05-02 12:02:25 +01:00
2026-04-25 20:06:30 +02:00
2026-06-03 18:29:16 +02:00
2026-06-02 10:00:43 +02:00
2026-05-27 14:43:25 -03:00
2026-05-27 20:55:46 -03:00
2026-05-27 20:55:46 -03:00
2026-05-21 12:58:13 +02:00
2026-06-21 10:01:09 +02:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:12:22 +02:00
2026-06-11 05:08:40 +02:00
2026-06-15 17:00:36 +02:00
2026-06-25 17:12:10 +08:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:12:22 +02:00
2026-05-02 12:02:25 +01:00
2026-06-16 17:11:03 -05:00
2026-06-16 17:11:03 -05:00
2026-06-23 13:22:47 +02:00
2026-06-23 13:22:47 +02:00
2026-04-19 14:41:59 +02:00
2026-04-19 14:41:59 +02:00
2026-04-26 19:36:39 +02:00
2026-04-26 19:36:39 +02:00
2026-05-29 21:21:45 +02:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:12:22 +02:00
2026-05-30 11:33:50 +02:00
2026-05-30 11:33:50 +02:00
2026-06-04 10:22:50 +02:00
2026-06-29 08:52:28 -05:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:13:25 +02:00
2026-04-18 10:20:32 +02:00
2026-06-21 10:01:09 +02:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:13:25 +02:00
2026-06-25 14:27:39 +02:00
2026-06-25 14:27:39 +02:00
2026-04-26 10:07:00 +02:00
2026-05-02 12:02:25 +01:00
2026-05-02 12:02:25 +01:00
2026-05-02 12:02:25 +01:00
2026-06-05 11:43:09 +02:00
2026-06-05 11:17:24 +02:00
2026-06-05 11:17:24 +02:00
2026-06-04 21:52:07 +02:00
2026-06-04 21:52:07 +02:00
2026-06-02 21:12:15 +02:00
2026-06-02 21:12:22 +02:00
2026-04-19 23:51:38 +05:30
2026-04-26 10:07:00 +02:00
2026-06-01 21:06:04 +02:00
2026-05-21 12:58:13 +02:00
2026-04-26 10:07:00 +02:00
2026-04-27 09:53:10 +02:00
2026-04-27 09:53:10 +02:00