forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to Rust 1.45.0 (pantsbuild#10396)
### Problem Keep up with Rust releases. ### Solution Upgrade to Rust v1.45.0. Clippy-related changes: - `impl FnMut(...) -> ()`. Drop the () as extraneous. - `Result.and_then(|x| Ok(y))` -> `Result.map(|x| y)` - `Result.and_then(|x| Err(y))` -> `Result.map_err(|x| y)` - `clippy::identity_conversion` renamed to `clippy::useless_conversion` Other changes: - Bump type length limit in `src/rust/engine/process_executor/src/main.rs` due to compile error. ### Result Code compiles. Tests pass.
- Loading branch information
Tom Dyas
authored
Jul 17, 2020
1 parent
6b6a1dd
commit 728eea0
Showing
7 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.44.1 | ||
1.45.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters