1
Fork 0

Use smaller ints for bitflags

This commit is contained in:
Nilstrieb 2023-04-30 19:08:46 +02:00
parent 0dddad0dc5
commit f2645776dc
4 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ mod attr_impl {
// The subset of llvm::Attribute needed for arguments, packed into a bitfield.
bitflags::bitflags! {
#[derive(Default, HashStable_Generic)]
pub struct ArgAttribute: u16 {
pub struct ArgAttribute: u8 {
const NoAlias = 1 << 1;
const NoCapture = 1 << 2;
const NonNull = 1 << 3;