Only allow repr(i128/u128) on enum

This commit is contained in:
Gary Guo 2020-07-06 20:42:19 +01:00
parent 0cd7ff7ddf
commit 5702e0289f

View file

@ -292,6 +292,8 @@ impl CheckAttrVisitor<'tcx> {
| sym::u32
| sym::i64
| sym::u64
| sym::i128
| sym::u128
| sym::isize
| sym::usize => {
int_reprs += 1;