Note that eq_trait denotes trait PartialEq, not Eq, so you don't have to go to trait def to double-check.
This commit is contained in:
parent
99abdfa0b5
commit
507ee7242a
1 changed files with 1 additions and 0 deletions
|
|
@ -326,6 +326,7 @@ language_item_table! {
|
|||
UnpinTraitLangItem, "unpin", unpin_trait, Target::Trait;
|
||||
PinTypeLangItem, "pin", pin_type, Target::Struct;
|
||||
|
||||
// Don't be fooled by the naming here: this lang item denotes `PartialEq`, not `Eq`.
|
||||
EqTraitLangItem, "eq", eq_trait, Target::Trait;
|
||||
PartialOrdTraitLangItem, "partial_ord", partial_ord_trait, Target::Trait;
|
||||
OrdTraitLangItem, "ord", ord_trait, Target::Trait;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue