bors 57a8804ef9 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"`.
2021-11-22 20:29:53 +00:00
..
2021-11-11 09:38:00 -06:00
2021-11-10 16:37:55 -06:00
2021-11-17 08:38:45 +08:00
2021-11-17 08:38:45 +08:00
2021-11-17 08:38:45 +08:00
2021-11-17 08:38:45 +08:00
2021-11-17 08:38:45 +08:00
2021-11-17 08:38:45 +08:00
2021-11-19 16:17:17 +09:00
2021-11-19 16:17:17 +09:00
2021-11-21 14:28:44 +08:00
2021-11-21 14:28:44 +08:00
2021-11-17 08:38:45 +08:00
2021-11-17 08:38:45 +08:00