rust/compiler/rustc_passes/src
Trevor Gross 07932ad111
Rollup merge of #142507 - folkertdev:fn-align-align-attribute, r=jdonszelmann
use `#[align]` attribute for `fn_align`

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

https://github.com/rust-lang/rfcs/pull/3806 decides to add the `#[align]` attribute for alignment of various items. Right now it's used for functions with `fn_align`, in the future it will get more uses (statics, struct fields, etc.)

(the RFC finishes FCP today)

r? `@ghost`
2025-06-18 20:22:49 -04:00
..
liveness compiler: Use size_of from the prelude instead of imported 2025-03-07 13:37:04 -08:00
abi_test.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
check_attr.rs add #[align] attribute 2025-06-18 12:37:08 +02:00
check_export.rs apply clippy::or_fun_call 2025-06-17 13:59:53 +03:00
dead.rs detect when variants have the same name as an associated function 2025-06-12 12:26:27 +02:00
debugger_visualizer.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
diagnostic_items.rs Implement lint against direct uses of rustc_type_ir in compiler crates 2025-06-18 16:01:41 +02:00
entry.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00
errors.rs add #[align] attribute 2025-06-18 12:37:08 +02:00
hir_id_validator.rs Adjust Map's to_string functionality. 2025-03-12 08:30:03 +11:00
input_stats.rs Overhaul the thousands module. 2025-06-12 15:26:06 +10:00
lang_items.rs deduplicate more walk_* methods in AST visit 2025-06-06 04:59:26 +00:00
layout_test.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
lib.rs Remove check_mod_loops query and run the checks per-body instead 2025-06-10 08:41:23 +00:00
lib_features.rs Tracking the old name of renamed unstable library attribute 2025-06-12 19:24:11 +08:00
liveness.rs typeck: catch continues pointing to blocks 2025-05-20 17:45:16 -07:00
reachable.rs Cleanup CodegenFnAttrFlags 2025-05-24 20:31:37 +02:00
stability.rs Tracking the old name of renamed unstable library attribute 2025-06-12 19:24:11 +08:00
upvars.rs Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
weak_lang_items.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00