about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-06-18 06:25:21 +0000
committerbors <bors@rust-lang.org>2025-06-18 06:25:21 +0000
commit76d583ba0ef93268e0690ced5db20dceb3da952d (patch)
treee4a2aab4a95bc7eff7f9ee71ce1a282e257a0b02 /compiler/rustc_codegen_llvm/src/errors.rs
parent4b60d4907e52fda842151531545242e881e392f6 (diff)
parentbc2ed2ca9fce221d26083d25cf31f2925c348428 (diff)
downloadrust-76d583ba0ef93268e0690ced5db20dceb3da952d.tar.gz
rust-76d583ba0ef93268e0690ced5db20dceb3da952d.zip
Auto merge of #138165 - jdonszelmann:inline, r=oli-obk
Rewrite `inline` attribute parser to use new infrastructure and improve diagnostics for all parsed attributes

r? `@oli-obk`

This PR:
- creates a new parser for inline attributes
- creates consistent error messages and error codes between attribute parsers; inline and others
- as such changes a few error messages for other attributes to be (in my eyes) much more consistent
- tests ast-lowering lints introduced by rust-lang/rust#138164 since this is now useful for the first time
- Coalesce some useless error codes

Builds on top of rust-lang/rust#138164

Closes rust-lang/rust#137950
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions