diff options
| author | bors <bors@rust-lang.org> | 2024-01-08 19:09:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-08 19:09:42 +0000 |
| commit | 3b8323d79024efb4ed4664faa4f29a1a7117177a (patch) | |
| tree | b48a79a2dc54a0057c90991b8488504390f62e4f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 7fbaba856b711f9e945a59a4ba6647a973912564 (diff) | |
| parent | a843996e81cd6993b9125708558c3ec5b674baf1 (diff) | |
| download | rust-3b8323d79024efb4ed4664faa4f29a1a7117177a.tar.gz rust-3b8323d79024efb4ed4664faa4f29a1a7117177a.zip | |
Auto merge of #12049 - cocodery:fix/issue#11243, r=Alexendoo
fix/issue#11243: allow 3-digit-grouped binary in non_octal_unix_permissions fixes [Issue#11243](https://github.com/rust-lang/rust-clippy/issues/11243) Issue#11243 suggest lint `non_octal_unix_permissions` should not report binary format literal unix permissions as an error, and we think binary format is a good way to understand these permissions. To solve this problem, we need to add check for binary literal, which is written in function `check_binary_unix_permissions` , only `binary, 3 groups and each group length equals to 3` is a legal format. changelog: [`non_octal_unix_permissions`]: Add check for binary format literal unix permissions like 0b111_111_111
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
