Eliminate const_field
query
#72264
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Followup to #67901
I think we only have one use site of
const_field
left:rust/src/librustc_codegen_ssa/mir/constant.rs
Line 69 in 7f65393
destructure_const
instead and iterate over the resulting fields.There should be no more results for searching
const_field
in the rust source after this, so some comments may need updating to mentioningdestructure_const
instead ofconst_field
.These mentoring instructions are a bit vague, I do realize that, so if you encounter any hickup of any magnitude, don't hesitate to write here or contact me via discord/zulip.
This issue has been assigned to @rakshith-ravi via this comment.
The text was updated successfully, but these errors were encountered: