Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
Mostly followed the official migration guide, and did more builds/tests/... to make sure everything works fine after every step.
cargo update
cargo build
(with all features, without default features, for all targets, various profiles, all workspaces...)cargo fix --edtion
(for all features, all targets, for all workspaces...)Drop
. The warnings mention that the new drop order is rarely a problem. Didn't change any of the code the warnings mentioned (later tests seem to suggest that everything works fine).expr_2021
andunsafe
forenv::set_var
.if let ... else ...
is also changed in a lot of places tomatch
statements. Doesn't seem to change functionality.Cargo.toml
files to share common options across workspace members (edition
,authors
,license
andrepository
). This ensures these options remain the same across workspace members during future edition updates.cargo build
(with all features, without default features, for all targets, various profiles, all workspaces...)ncspot
still ran fine by logging in, navigating the UI and playing a song.cargo fmt --all
Issue ticket number and link
/
Checklist before requesting a review
not performance improvements, etc.)