about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-30 07:01:28 +0200
committerGitHub <noreply@github.com>2025-05-30 07:01:28 +0200
commit5fc3f26748d0913dfa56b19be3ccef2d7846d2d1 (patch)
tree6d6ba7cc9e8a9302b737eec769d11eac1f5be6da /compiler/rustc_codegen_llvm/src/builder.rs
parent7aba37da44991e9046d1e09044c36da06a82b86c (diff)
parentf6520673fc28815f5beee5fbd48d4363462fb0f6 (diff)
downloadrust-5fc3f26748d0913dfa56b19be3ccef2d7846d2d1.tar.gz
rust-5fc3f26748d0913dfa56b19be3ccef2d7846d2d1.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions