Closed
Description
rust/src/librustc_codegen_ssa/mir/rvalue.rs
Lines 586 to 592 in c43d03a
libcore however doesn't use those for the implementations for PartialEq
and PartialOrd
for the unit type.
Lines 933 to 939 in c43d03a
Lines 980 to 985 in c43d03a
This means that the special case in cg_ssa can be removed.
Metadata
Metadata
Assignees
Labels
Area: Code generationCategory: PRs that clean code up or issues documenting cleanup.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Help is requested to fix this issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the compiler team, which will review and decide on the PR/issue.