diff options
| author | bors <bors@rust-lang.org> | 2021-11-22 20:29:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-11-22 20:29:53 +0000 |
| commit | 57a8804ef991b04aed5414fbf668f444c9050c73 (patch) | |
| tree | 1b667aab85b397d1ab43160044332d8e5d241f0f /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 40275945334b71eabd87e8d651fa1cd53e274aed (diff) | |
| parent | 1210bb40d35829672744c1d58f3614723a7e1bad (diff) | |
| download | rust-57a8804ef991b04aed5414fbf668f444c9050c73.tar.gz rust-57a8804ef991b04aed5414fbf668f444c9050c73.zip | |
Auto merge of #8007 - birkenfeld:octal_escapes, r=xFrednet
Add new lint `octal_escapes` This checks for sequences in strings that would be octal character escapes in C, but are not supported in Rust. It suggests either to use the `\x00` escape, or an equivalent hex escape if the octal was intended. Fixes #7981 --- *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: Add new lint [`octal_escapes`], which checks for literals like `"\033[0m"`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
