Skip to content

Conversation

@tamird
Copy link
Contributor

@tamird tamird commented Nov 10, 2025

Fixes #114583.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 10, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 10, 2025

r? @ChrisDenton

rustbot has assigned @ChrisDenton.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@joboet joboet added the I-libs-nominated Nominated for discussion during a libs team meeting. label Nov 11, 2025
@tamird
Copy link
Contributor Author

tamird commented Nov 13, 2025

r? @Amanieu (approved related PR #114132)

@rustbot rustbot assigned Amanieu and unassigned ChrisDenton Nov 13, 2025
819247f changed <str as Debug>::fmt such that it does not escape single
quotes, but neglected to apply the same choice to OsString. This commit
does that.
@rustbot
Copy link
Collaborator

rustbot commented Nov 17, 2025

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@Amanieu Amanieu added the relnotes Marks issues that should be documented in the release notes of the next release. label Nov 19, 2025
@Amanieu
Copy link
Member

Amanieu commented Nov 19, 2025

This was discussed in the @rust-lang/libs meeting: we're fine with this, but would like it to be mentioned in the release notes even though it is technically an allowed change (we reserve the right to change Debug output).

@Amanieu Amanieu removed the I-libs-nominated Nominated for discussion during a libs team meeting. label Nov 19, 2025
@Amanieu
Copy link
Member

Amanieu commented Nov 19, 2025

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 19, 2025

📌 Commit eb84efc has been approved by Amanieu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 19, 2025
bors added a commit that referenced this pull request Nov 19, 2025
Rollup of 7 pull requests

Successful merges:

 - #147171 (recommend using a HashMap if a HashSet's second generic parameter doesn't implement BuildHasher)
 - #147421 (Add check if span is from macro expansion)
 - #147521 (Make SIMD intrinsics available in `const`-contexts)
 - #148201 (Start documenting autodiff activities)
 - #148797 (feat: Add `bit_width` for unsigned `NonZero<T>`)
 - #148798 (Match <OsString as Debug>::fmt to that of str)
 - #149082 (autodiff: update formating, improve examples for the unstable-book)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 48fa913 into rust-lang:main Nov 19, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Nov 19, 2025
rust-timer added a commit that referenced this pull request Nov 19, 2025
Rollup merge of #148798 - tamird:esc-single-quote, r=Amanieu

Match <OsString as Debug>::fmt to that of str

Fixes #114583.
@tamird tamird deleted the esc-single-quote branch November 19, 2025 13:27
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Nov 20, 2025
Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#147171 (recommend using a HashMap if a HashSet's second generic parameter doesn't implement BuildHasher)
 - rust-lang/rust#147421 (Add check if span is from macro expansion)
 - rust-lang/rust#147521 (Make SIMD intrinsics available in `const`-contexts)
 - rust-lang/rust#148201 (Start documenting autodiff activities)
 - rust-lang/rust#148797 (feat: Add `bit_width` for unsigned `NonZero<T>`)
 - rust-lang/rust#148798 (Match <OsString as Debug>::fmt to that of str)
 - rust-lang/rust#149082 (autodiff: update formating, improve examples for the unstable-book)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OsString Debug implementation prints escaped single quotes

6 participants