Skip to content

Desugar while-let loops#4000

Merged
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
CohenArthur:desugar-while-let-loops
Jul 31, 2025
Merged

Desugar while-let loops#4000
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
CohenArthur:desugar-while-let-loops

Conversation

@CohenArthur

@CohenArthur CohenArthur commented Jul 22, 2025

Copy link
Copy Markdown
Member

Needs #3999 - only review the last commit here

@powerboat9

Copy link
Copy Markdown
Collaborator

PR #4000

@CohenArthur CohenArthur added this pull request to the merge queue Jul 24, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Jul 24, 2025
@CohenArthur CohenArthur force-pushed the desugar-while-let-loops branch from 13779bf to ba078df Compare July 31, 2025 09:29
@CohenArthur CohenArthur enabled auto-merge July 31, 2025 09:29
@CohenArthur CohenArthur force-pushed the desugar-while-let-loops branch from ba078df to 6e9778c Compare July 31, 2025 11:56
gcc/rust/ChangeLog:

	* Make-lang.in:
	* ast/rust-expression-yeast.cc (ExpressionYeast::dispatch_loops): Call DesugarWhileLet.
	* ast/rust-desugar-while-let.cc: New file.
	* ast/rust-desugar-while-let.h: New file.

gcc/testsuite/ChangeLog:

	* rust/compile/while_let1.rs: New test.
@CohenArthur CohenArthur added this pull request to the merge queue Jul 31, 2025
auto-merge was automatically disabled July 31, 2025 13:07

Pull Request is not mergeable

Merged via the queue into Rust-GCC:master with commit 25dfee3 Jul 31, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants