diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-06 21:56:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-06 21:56:24 +0100 |
| commit | 4b7e55ada3c7d6c678c6f54f91b701f50fa62181 (patch) | |
| tree | 97b24d352998e9a11726f4a82a11c7b07ab4410e /compiler/rustc_driver_impl/src | |
| parent | 942db6782f4a28c55b0b75b38fd4394d0483390f (diff) | |
| parent | a4bb0d41bffcbea98d62fb94404704d6d13ea55a (diff) | |
| download | rust-4b7e55ada3c7d6c678c6f54f91b701f50fa62181.tar.gz rust-4b7e55ada3c7d6c678c6f54f91b701f50fa62181.zip | |
Rollup merge of #133925 - folkertdev:improve-repr-warnings, r=compiler-errors
disallow `repr()` on invalid items fixes https://github.com/rust-lang/rust/issues/129606 fixes https://github.com/rust-lang/rust/issues/132391 Disallows `repr()` (so a repr with no arguments) on items where that won't ever make sense. Also this generates an error when `repr` is used on a trait method and the `fn_align` feature is not enabled. Looks like that was missed here: https://github.com/rust-lang/rust/pull/110313/files Which first accepts the align attribute on trait methods. r? `@compiler-errors` cc `@jdonszelmann` who claimed https://github.com/rust-lang/rust/issues/132391 and generally has been working on attributes
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions
