diff options
| author | dswij <dharmasw@outlook.com> | 2025-06-28 08:48:07 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-28 08:48:07 +0000 |
| commit | 428208eb9b61f44e5bbab70feea42a8d55994230 (patch) | |
| tree | 463aa21e67c60f8ee725fc122f820f9b798aa384 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 8633bcbc3c7f71e463c7c9f81b03f0aa11728eb8 (diff) | |
| parent | 7e406e276a1778390c06ce40a9a4929e3d371776 (diff) | |
| download | rust-428208eb9b61f44e5bbab70feea42a8d55994230.tar.gz rust-428208eb9b61f44e5bbab70feea42a8d55994230.zip | |
Fix `disallowed_script_idents` FP on identifiers with `_` (#15123)
Closes rust-lang/rust-clippy#15116 The cause for this issue is that `_` belongs to the `Common` catagory in unicode instead of `Latin` like other ASCII alphabets. Since ASCII characters are always allowed, I just added an extra `is_ascii()` check to ensure this. changelog: [`disallowed_script_idents`] fix FP on identifiers with `_`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
