Remove DefId
from ConstraintCategory::Predicate
This shirnks the size of `ConstraintCategory`, hopefully fixing a performance regression.
This commit is contained in:
parent
93ab12eeab
commit
41ad383e11
4 changed files with 20 additions and 9 deletions
|
@ -40,7 +40,7 @@ impl ConstraintDescription for ConstraintCategory {
|
|||
ConstraintCategory::OpaqueType => "opaque type ",
|
||||
ConstraintCategory::ClosureUpvar(_) => "closure capture ",
|
||||
ConstraintCategory::Usage => "this usage ",
|
||||
ConstraintCategory::Predicate(_, _)
|
||||
ConstraintCategory::Predicate(_)
|
||||
| ConstraintCategory::Boring
|
||||
| ConstraintCategory::BoringNoLocation
|
||||
| ConstraintCategory::Internal => "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue