about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-11-03 13:35:49 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-11-03 15:58:19 +1100
commit34b32b0dac9da3fad7861bdc2bad89d771172bb3 (patch)
treea7917a88980232aac0e700871ad326269b215c96 /src/test/debuginfo/enum-thinlto.rs
parent84ca2c3bab370ee58ebd23050e9286e1d9e664b9 (diff)
downloadrust-34b32b0dac9da3fad7861bdc2bad89d771172bb3.tar.gz
rust-34b32b0dac9da3fad7861bdc2bad89d771172bb3.zip
Use `Mode` less.
It's passed to numerous places where we just need an `is_byte` bool.
Passing the bool avoids the need for some assertions.

Also rename `is_bytes()` as `is_byte()`, to better match `Mode::Byte`,
`Mode::ByteStr`, and `Mode::RawByteStr`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions