about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2021-11-20 11:23:49 +0100
committerGeorg Brandl <georg@python.org>2021-11-20 11:57:25 +0100
commit982124acfafce0c14ace9cf48ab946b4a5901dd3 (patch)
tree8df9a87a48a8142ed79b06c66408fa4c95c82e3e /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parent38bd2514ad7d039f6836b0a05dda4dc5f0849942 (diff)
downloadrust-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_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions