mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
a6e7a5aa5d
Allow specifying alignment for functions Fixes #75072 This allows the user to specify alignment for functions, which can be useful for low level work where functions need to necessarily be aligned to a specific value. I believe the error cases not covered in the match are caught earlier based on my testing so I had them just return `None`.