rust-lang / rust-lang/rust-analyzer

Implement `super let`

Open
#20,058 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

B-unstable C-feature
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

https://blog.m-ou.se/super-let/

We have implemented rustc's new format_args! expansion but since we are lacking of super let, it makes some borrowck failures like in here

Edit: I initially thought this was causing MIR evaluation errors, but that turned out not to be the case—those were resolved by #20073.
While I believe we'll eventually need this change, it's not urgent at the moment due to other quirks in MIR or borrowck and more pressing issues elsewhere.
So I'm releasing my assignment on this for now.

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 by reading the linked blog post on super let and the rust-analyzer PR discussion referenced in the issue. Review the existing format_args! expansion work and issue #20073 for context, then define the affected behavior and tests before attempting the implementation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.