mGCA: Support directly represented negated literals
This commit is contained in:
parent
8bccf1224d
commit
54a9be469a
11 changed files with 70 additions and 19 deletions
|
|
@ -1444,7 +1444,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
|
|||
| hir::ConstArgKind::TupleCall(..)
|
||||
| hir::ConstArgKind::Tup(..)
|
||||
| hir::ConstArgKind::Path(..)
|
||||
| hir::ConstArgKind::Literal(..)
|
||||
| hir::ConstArgKind::Literal { .. }
|
||||
| hir::ConstArgKind::Infer(..) => true,
|
||||
hir::ConstArgKind::Anon(..) => false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue