Remove #[inline] on consts

This commit is contained in:
varkor 2019-10-11 10:51:03 +01:00
parent 564f95f0b7
commit 5853685623

View File

@ -590,7 +590,6 @@ macro_rules! __impl_bitflags {
#[allow(non_snake_case)]
trait __BitFlags {
$(
#[inline]
const $Flag: $T = 0;
)+
}
@ -598,7 +597,6 @@ macro_rules! __impl_bitflags {
$(
__impl_bitflags! {
#[allow(deprecated)]
#[inline]
$(? #[$attr $($args)*])*
const $Flag: $T = Self::$Flag.bits;
}