Skip to content

Critical spelling mistake in const_in_array_repeat_expressions compiler suggestion #66433

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
likebike opened this issue Nov 15, 2019 · 0 comments · Fixed by #66435
Closed

Critical spelling mistake in const_in_array_repeat_expressions compiler suggestion #66433

likebike opened this issue Nov 15, 2019 · 0 comments · Fixed by #66435
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@likebike
Copy link

The compiler is suggesting an incorrectly-spelled feature:

#65858 (comment)

@csmoe csmoe added A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. labels Nov 15, 2019
@jonas-schievink jonas-schievink added C-bug Category: This is a bug. F-const_in_array_repeat_expressions T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 15, 2019
Centril added a commit to Centril/rust that referenced this issue Nov 15, 2019
Correct `const_in_array_repeat_expressions` feature name

Fixes rust-lang#66433

r? @estebank
peter-wilkins pushed a commit to peter-wilkins/rust that referenced this issue Nov 15, 2019
update suggestion and ui test `const_in_array_repeat_expression` to
`const_in_array_repeat_expressions` (adding 's' at the end)

Closes: rust-lang#66433
@bors bors closed this as completed in d99026e Nov 15, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
3 participants