about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-03 19:43:19 +0000
committerbors <bors@rust-lang.org>2024-11-03 19:43:19 +0000
commita1a9aaef87cf15a97ca1766bbcd2e12314784417 (patch)
tree0b0d20518d45402821a380839335336ced432846 /compiler/rustc_codegen_llvm/src
parent040129b7745fdf661a395d7de13b4ef7944cd1e0 (diff)
parent805245161a7044cd04bed12062e18045864b9c47 (diff)
downloadrust-a1a9aaef87cf15a97ca1766bbcd2e12314784417.tar.gz
rust-a1a9aaef87cf15a97ca1766bbcd2e12314784417.zip
Auto merge of #13631 - samueltardieu:push-uoowutzkvsrk, r=Centri3
no_mangle attribute requires unsafe in Rust 2024

Tests without unsafe must not run in edition 2024. Also, error messages have been modified to include the full attribute, so that a use of `#[unsafe(no_mangle)]` does not produce an error message containing `#[no_mangle]`.

changelog: [`no_mangle_attribute`]: handle `#[unsafe(no_mangle)]` as well
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions