remove FIXME and add test

This commit is contained in:
James Dietz 2023-06-28 07:50:34 -04:00
parent ce5ed5b6cc
commit 71362c733f
2 changed files with 12 additions and 2 deletions

View file

@ -344,8 +344,6 @@ where
};
// Check the qualifs of the value of `const` items.
// FIXME(valtrees): check whether const qualifs should behave the same
// way for type and mir constants.
let uneval = match constant.literal {
ConstantKind::Ty(ct)
if matches!(