rust/compiler/rustc_attr_parsing/src
Jakub Beránek 065a5fb225
Rollup merge of #142715 - folkertdev:fn-align-corrections, r=jdonszelmann
correct template for `#[align]` attribute

Tracking issue: https://github.com/rust-lang/rust/issues/82232
related: https://github.com/rust-lang/rust/pull/142507

I didn't fully understand what `template!` did, clearly. An empty `#[align]` attribute was still rejected later, but without this change it does get suggested in certain cases.

I've also updated some outdated references to `#[repr(align)]` on functions.

r? ``@jdonszelmann``
2025-06-20 20:03:21 +02:00
..
attributes Rollup merge of #142715 - folkertdev:fn-align-corrections, r=jdonszelmann 2025-06-20 20:03:21 +02:00
context.rs Rollup merge of #138291 - jdonszelmann:optimize-attr, r=oli-obk 2025-06-20 02:50:37 -04:00
lib.rs remove 'static in some places 2025-06-12 09:57:38 +02:00
lints.rs fix bugs in inline/force_inline and diagnostics of all attr parsers 2025-06-17 23:19:31 +02:00
parser.rs introduce new lint infra 2025-06-12 09:56:47 +02:00
session_diagnostics.rs add #[align] attribute 2025-06-18 12:37:08 +02:00