diff options
| author | Georg Brandl <georg@python.org> | 2021-11-20 11:23:49 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2021-11-20 11:57:25 +0100 |
| commit | 982124acfafce0c14ace9cf48ab946b4a5901dd3 (patch) | |
| tree | 8df9a87a48a8142ed79b06c66408fa4c95c82e3e /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | 38bd2514ad7d039f6836b0a05dda4dc5f0849942 (diff) | |
| download | rust-982124acfafce0c14ace9cf48ab946b4a5901dd3.tar.gz rust-982124acfafce0c14ace9cf48ab946b4a5901dd3.zip | |
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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
