-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tracking issue for Transitioning crates to Rust 2018 #58099
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
Comments
Transition leftover test libs to Rust 2018 To tick off some checkboxes in rust-lang/rust#58099 =)
Transition cargotest to Rust 2018 Only updating Cargo.toml #58099
Remove some unnecessary 'extern crate' cc rust-lang#58099 r? @Centril
…rochenkov librustc_driver => 2018 Transitions `librustc_driver` to Rust 2018; cc rust-lang#58099 r? @Centril
…rochenkov librustc_driver => 2018 Transitions `librustc_driver` to Rust 2018; cc rust-lang#58099 r? @Centril
…rochenkov librustc_driver => 2018 Transitions `librustc_driver` to Rust 2018; cc rust-lang#58099 r? @Centril
…rochenkov librustc_driver => 2018 Transitions `librustc_driver` to Rust 2018; cc rust-lang#58099 r? @Centril
|
Yep; still waiting on #58828 however. |
It should be possible to set the default edition and lints in rustbuild already. |
@pietroalbini @Mark-Simulacrum I'm pleased to announce that all crates, to my knowledge, have been migrated to Rust 2018. As far as I know, all of them have also had idiom lints applied. I think now would be a good idea to apply it globally for rustbuild. |
I can think of a couple of things we want:
Not entirely sure how best to do the first, but the second should be quite simple -- I would add to https://github.com/rust-lang/rust/blob/master/src/bootstrap/bin/rustc.rs#L307 the deny for idiom lints. |
Deny rust_2018_idioms globally cc #58099 (comment)
This is done now, right? Can we close this? |
is not done I believe. |
Add very simple edition check to tidy. Fixes rust-lang#58099.
Add very simple edition check to tidy. Fixes rust-lang#58099.
Add very simple edition check to tidy. Fixes rust-lang#58099.
Add very simple edition check to tidy. Fixes rust-lang#58099.
Finally done! Maybe tick the checkbox too! |
1 similar comment
Finally done! Maybe tick the checkbox too! |
This issue tracks the transitioning of all crates in this repo and sub-modules to Rust 2018.
You can help by filing PRs transitioning a crate at a time to Rust 2018.
When transitioning, please apply the following to the crate root:
You can try to use
cargo +nightly fix
(orcargo +nightly --edition-idioms
) to migrate a crate automatically; see the edition guide for details. However, due to bootstrapping, you might need to do some manual intervention here and there.If you want to help out, please pick a crate and leave a comment here.
When you make a transitioning PR, also leave a comment here.
cc @rust-lang/compiler @rust-lang/infra
The following crates exist in the repo or as submodules.
Checked items have been transitioned to Rust 2018.
The text was updated successfully, but these errors were encountered: