rust/compiler/rustc_parse/src
bors 1bb335244c 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
2025-06-18 06:25:21 +00:00
..
lexer Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
parser Rollup merge of #142371 - fee1-dead-contrib:push-xqlkumzurkus, r=petrochenkov 2025-06-17 23:19:34 +02:00
errors.rs Rework how the disallowed qualifier lints are generated 2025-06-13 18:13:34 +02:00
lib.rs Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
validate_attr.rs make error codes reflect reality better 2025-06-17 23:22:51 +02:00