-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Improve the Vec experience #13020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the Vec experience #13020
Conversation
Any crates that don't have |
They should have deny, IMO. |
I think stage1+ has -D warnings or whatever the -Werror equivalent is. |
This is not a case of regression. We have 26 crates, 24 of which have I think that that statistic shows that this is not a useful lint at this time. I'm explicitly not removing it because it will be very useful as soon as the standard libraries are ported. |
This is an incredibly common type, and it is expected to be used in many many places. This type should be in the prelude.
Most of the standard distribution is still using ~[] instead of Vec, so this lint is essentially useless currently. When the standard distribution has been ported to not use ~[], then we can turn the lint back on.
It's now in the prelude.
minor: Remove redundant --pre-release flag from publish
According to https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions, when publishing pre-release versions, `--pre-release` must also be passed in the publish step. Currently the behavior with and without the flag seems to be the same, but since it's documented to be required, don't rely on this staying that way. This flag was previously removed in rust-lang#13020, so this partially reverts that change.
…, r=lnicola Specify `--pre-release` when publishing vsce nightly According to https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions, when publishing pre-release versions, `--pre-release` must also be passed in the publish step. Currently the behavior with and without the flag seems to be the same, but since it's documented to be required, don't rely on this staying that way. This flag was previously removed in rust-lang#13020, so this partially reverts that change.
The commits have the details.