X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fcompile-fail%2Fenum-discrim-too-small.rs;h=cdf7d026d5eebd4b26039d7b9508496c51b8aad4;hb=82dcec7ee4a8a71fdfb8e8771ae6785261ec1d5b;hp=1d7794336a09671999d7f8f50ae9dff971bc9357;hpb=83af23ea49a907ddda8915775cfb5d8c4cff5682;p=rust.git diff --git a/src/test/compile-fail/enum-discrim-too-small.rs b/src/test/compile-fail/enum-discrim-too-small.rs index 1d7794336a0..cdf7d026d5e 100644 --- a/src/test/compile-fail/enum-discrim-too-small.rs +++ b/src/test/compile-fail/enum-discrim-too-small.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![feature(negate_unsigned)] + #[repr(u8)] //~ NOTE discriminant type specified here enum Eu8 { Au8 = 23,