You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unhelpful error message with identifiers named box #97810
A-diagnosticsArea: Messages for errors, warnings, and lintsA-parserArea: Syntactic analysis / parsing of Rust source code (to an AST) as done by `rustc_parse`D-confusingDiagnostics: Confusing error or lint that should be reworked.D-papercutDiagnostics: An error or lint that needs small tweaks.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
A-diagnosticsArea: Messages for errors, warnings, and lintsA-parserArea: Syntactic analysis / parsing of Rust source code (to an AST) as done by `rustc_parse`D-confusingDiagnostics: Confusing error or lint that should be reworked.D-papercutDiagnostics: An error or lint that needs small tweaks.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity
[-]Unhelpful error message with variables named `box`[/-][+]Unhelpful error message with identifiers named `box`[/+]ChayimFriedman2 commentedon Jun 7, 2022
@rustbot claim
est31 commentedon Jun 7, 2022
@rstk FTR you linked to the wrong issue, you should have linked to #29641, as it's a box pattern not a box expression in the case of your snippet.
Rollup merge of rust-lang#97857 - ChayimFriedman2:box-identifier-help…
Rollup merge of rust-lang#97857 - ChayimFriedman2:box-identifier-help…