]> git.lizzy.rs Git - rust.git/commit
Add `StrStyle` to `ast::LitKind::ByteStr`.
authorNicholas Nethercote <n.nethercote@gmail.com>
Tue, 29 Nov 2022 02:35:44 +0000 (13:35 +1100)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 1 Dec 2022 23:38:58 +0000 (10:38 +1100)
commit6481d37bb9f8506362d54b216ffcabba38735aca
tree8e74b2718b3af1d04a66512a98a154642b6c025d
parent58100c014a815f7bc30d58f27e4283166146fbbb
Add `StrStyle` to `ast::LitKind::ByteStr`.

This is required to distinguish between cooked and raw byte string
literals in an `ast::LitKind`, without referring to an adjacent
`token::Lit`. It's a prerequisite for the next commit.
clippy_lints/src/invalid_utf8_in_unchecked.rs
clippy_lints/src/large_include_file.rs
clippy_lints/src/matches/match_same_arms.rs
clippy_lints/src/utils/author.rs
clippy_utils/src/check_proc_macro.rs
clippy_utils/src/consts.rs