Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Detail divergence for the rest of the expressions

Open
#2,152 0 comments 0 reactions 1 assignee View on GitHub

@ehuss is already working on this.

Since Feb 1, 2026.

Assessment

This issue has not been assessed yet.

Description

A-divergence

https://github.com/rust-lang/reference/pull/2067 added a chapter on divergence with some rules for the divergence of some of the more tricky expressions like if or match. However, we were thinking of defining the behavior of some or all of the expressions explicitly. See https://github.com/rust-lang/reference/pull/2067#issuecomment-3782115579 for the discussion.

I have a draft where I am exploring how this is presented.

cc @jackh726

Dominant language
Rust
Stars
1.6k
Forks
607
Avg merge
6h 47m
Merged PRs (30d)
14

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.

More from rust-lang/reference

All issues in rust-lang/reference

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.