Repository navigation
Rollup of 5 pull requests - #166542
Closed
jhpratt wants to merge 12 commits into
Closed
Rollup of 5 pull requests#166542jhpratt wants to merge 12 commits into
jhpratt wants to merge 12 commits into
Conversation
add test checking that -Ctarget-feature implies cfg(target_feature) We have lots of tests that indirectly rely on this, but I found no test directly checking the `cfg`, so let's add one. r? @antoyo
…ctors, r=jhpratt feat(time): add `Duration` extractors for units larger than second - Accepted ACP: rust-lang/libs-team#923 - Tracking issue: - rust-lang#165784 - rust-lang#165786 This pull request adds `Duration::as_{weeks,days,hours,mins}` methods for units larger than the second. Based on rust-lang#120301 and rust-lang#140881, the features are divided into the `duration_extractors` feature for `Duration::as_{weeks,days}` methods and the `duration_extractors_lite` feature for `Duration::as_{hours,mins}` methods.
…ckh726 Added regression test for issue rust-lang#53156 Added regression test for issue rust-lang#53156. Includes the issue's 3a and 3b on top of 1a and 2a in both impl and top-level versions. Does not include 3c since it should fail to compile: the lifetime of the `&self` parameter may not outlive the lifetime `'a` required. Also included a -Znext-solver revision as it also compiles cleanly with the next-solver so failing with it would be a regression. Closes rust-lang#53156.
Add explanatory comment and rename alias This PR adds explanatory comment and rename alias as requested in rust-lang#159898 (comment) r? @Kobzol
…error-typo, r=Kivooeo Fix typo in ConstItemInteriorMutationsDiag struct Fixes a typo in the error message found in the `ConstItemInteriorMutationsDiag` struct (`"is a interior mutable"` -> `"is an interior mutable"`) and updates the corresponding UI test `.stderr` files.
Member
Author
|
@bors r+ p=5 force |
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 25, 2026
Rollup of 5 pull requests Successful merges: - #166438 (add test checking that -Ctarget-feature implies cfg(target_feature)) - #165624 (feat(time): add `Duration` extractors for units larger than second) - #166231 (Added regression test for issue #53156 ) - #166401 (Add explanatory comment and rename alias ) - #166520 (Fix typo in ConstItemInteriorMutationsDiag struct)
Contributor
|
💔 Test for 09afcc1 failed: CI. Failed job:
|
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Member
Author
|
@bors retry |
Contributor
|
This pull request was unapproved due to being closed. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Successful merges:
Durationextractors for units larger than second #165624 (feat(time): addDurationextractors for units larger than second)r? @ghost
Create a similar rollup