Skip to content

Do not suggest renaming let Super to let super - #163048

Open
estebank wants to merge 1 commit into
rust-lang:mainfrom
estebank:let-super
Open

estebank wants to merge 1 commit into
rust-lang:mainfrom
estebank:let-super

Conversation

@estebank

Copy link
Copy Markdown
Contributor

No description provided.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 20, 2026
@rustbot

rustbot commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

r? @mu001999

rustbot has assigned @mu001999.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 77 candidates
  • Random selection from 18 candidates

| ^^^^^ help: rename the identifier
|
= note: `super` cannot be used as a raw identifier
| ^^^^^ `super` cannot be used as a raw identifier

@mu001999 mu001999 Sep 20, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, there was nothing wrong with the previous diagnostics. We suggest renaming the identifier and note that super cannot be used as an identifier.

And we're not actually suggesting let Super to let super, right? :)

View changes since the review

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous suggestion was to rename to no binding, ending up with invalid code. But yeah, looking at this with fresh eyes I should change it to have a suggestion for a different binding name. I'll rework this change.

@mu001999 mu001999 added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants