about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2024-12-05 15:32:12 +0100
committerFolkert de Vries <folkert@folkertdev.nl>2024-12-05 16:44:00 +0100
commitdfd76c1cbb9bf053b5362f283277d8064d2604a7 (patch)
tree02b8f008b81857fa6672a6aecb8e5ca1a3df878d /compiler/rustc_driver_impl/src
parent0e98766a5478abd9a279777e55e3d3e06e1761c0 (diff)
downloadrust-dfd76c1cbb9bf053b5362f283277d8064d2604a7.tar.gz
rust-dfd76c1cbb9bf053b5362f283277d8064d2604a7.zip
disallow `repr()` on invalid items
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 enables the align attribute on trait methods.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions