fix: address suggestions

This commit is contained in:
Artur Sinila 2022-07-17 18:22:11 +03:00
parent 15f73008f8
commit 83177a7cfe
No known key found for this signature in database
GPG key ID: 770E69D690735C61
12 changed files with 72 additions and 65 deletions

View file

@ -257,7 +257,7 @@ impl chalk_ir::interner::Interner for Interner {
c1: &Self::InternedConcreteConst,
c2: &Self::InternedConcreteConst,
) -> bool {
c1 == c2
(c1 == &ConstScalar::Unknown) || (c2 == &ConstScalar::Unknown) || (c1 == c2)
}
fn intern_generic_arg(