Skip to content

Add suggestion for E0401 on inner const items#153566

Open
JohnTitor wants to merge 1 commit intorust-lang:mainfrom
JohnTitor:sugg-generic-params-from-outer-item-err
Open

Add suggestion for E0401 on inner const items#153566
JohnTitor wants to merge 1 commit intorust-lang:mainfrom
JohnTitor:sugg-generic-params-from-outer-item-err

Conversation

@JohnTitor
Copy link
Member

@JohnTitor JohnTitor commented Mar 8, 2026

Fix #68373
r? @estebank

@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 Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggest replacing const with let on "can't use generic parameters from outer item" (outer fn specifically) (if appropriate)

3 participants