Rust-GCC / Rust-GCC/gccrs

`IfLet` desugaring may in the future be inaccurate

Open
#3,680 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.9k
Forks
231
Avg merge
19h 55m
Merged PRs (30d)
67

Description

FYI this desugaring is no longer correct in e2024: the two expressions now have different drop order.

Originally posted by @riking in #1177

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced discussion in issue #1177, then locate the IfLet desugaring implementation and its tests; no file or entry point is named here. Done means the desugaring accurately reflects e2024's drop order and has regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.