Update Rust toolchain to 2023-11-06 #2858
Merged
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.
Update to the latest Rust toolchain (2023-11-06).
The relevant changes are:
rustc_spancleanups rust-lang/rust#117507: this required changing the import ofSpanfromrustc_span::source_map::Spantorustc_span::Span.OffsetOfvariant ofNullOpfromList<FieldIdx>toList<(VariantIdx, FieldIdx)>, which required updating the relevant code inrvalue.rs.unchecked_mathfeature, so this required changing the feature annotation intests/ui/should-panic-attribute/unexpected-failures/test.rstests/coverage/unreachable/variant/main.rsgetting optimized out. To maintain what this test is testing, I changed thematchto make it a bit less-prone to optimization.cargo(Add new packages to [workspace.members] automatically rust-lang/cargo#12779) resulted in an update to Kani's workspaceCargo.tomlwhencargo addis executed insidetests/script-based-pre/build-cache-bin. This is apparently intended behavior, so I had to make theexcludein theCargo.tomlmore specific to make sure this doesn't happen (I tried using a glob, but that didn't work, apparently because of cargo should support glob syntax on workspace excludes rust-lang/cargo#6009.Resolves #2848
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.