about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-02 19:29:36 +0200
committerGitHub <noreply@github.com>2025-07-02 19:29:36 +0200
commit2dbb9be3268be46dd5996ace1f10099d09d39a07 (patch)
treedbd0870de9fe9181773added23cae3b4092387dc /compiler/rustc_codegen_llvm/src
parent6ebf642a0423ee33c2334d89e93335c1c7e83e7f (diff)
parent8bb7fdb236b50eb14a0b39abbb8cfaa4e2dc853f (diff)
downloadrust-2dbb9be3268be46dd5996ace1f10099d09d39a07.tar.gz
rust-2dbb9be3268be46dd5996ace1f10099d09d39a07.zip
Rollup merge of #142964 - GrigorenkoPV:attributes/argless, r=oli-obk
Attribute rework: a parser for single attributes without arguments

Part of rust-lang/rust#131229

r? `@jdonszelmann`

I think code (with comments) speaks for itself.

The only subtlety: now `#[cold]`, `#[no_mangle]`, & `#[track_caller]` do not get thrown away when malformed (i.e. have arguments). This doesn't matter too much (I think), because an error gets emitted either way, so the compilation will not finish.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions