rust/compiler/rustc_parse/src
Matthias Krüger 5fc3f26748
Rollup merge of #141004 - matthewjasper:unicode-before-expansion, r=davidtwco
Report text_direction_codepoint_in_literal when parsing

The lint is now reported in code that gets removed/modified/duplicated by macro expansion, and spans are more accurate so we don't get ICEs from trying to split a span in the middle of a character.

This removes support for lint level attributes for `text_direction_codepoint_in_literal` except at the crate level, I don't think that there's an easy way around this when the lint can be reported on code that's removed by `cfg` or that is only in the input of a macro.

Fixes #140281
2025-05-30 07:01:28 +02:00
..
lexer Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
parser Rollup merge of #141675 - nnethercote:ItemKind-field-order, r=fee1-dead 2025-05-29 04:49:43 +02:00
errors.rs move asm parsing code into rustc_parse 2025-05-27 09:44:10 +02:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
validate_attr.rs Make attribute safety validation logic more obvious 2025-05-04 21:44:50 +08:00