Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore old behaviour on broken UNC paths #101366

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

ChrisDenton
Copy link
Member

This fixes #101358 by restoring the behaviour from previous stable Rust versions. I'm not convinced this is ultimately right but I think it's less wrong and maybe this should be backported to beta?

r? libs

@rustbot rustbot added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label Sep 3, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 3, 2022
@Mark-Simulacrum Mark-Simulacrum added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Sep 3, 2022
@Mark-Simulacrum
Copy link
Member

Beta nominating to highlight it for discussion. Is this a regression in beta? Or older, but just want the fix out sooner?

@ChrisDenton
Copy link
Member Author

ChrisDenton commented Sep 3, 2022

It's a regression already in stable but I'm mildly keen to get a fix into the earliest stable version possible. I don't like breaking people's applications.

That said, it's been broken for quite awhile (edit: oh, since 1.62!) and apparently nobody noticed until now so I suppose it's not essential.

@m-ou-se m-ou-se added the stable-nominated Nominated for backporting to the compiler in the stable channel. label Sep 7, 2022
@m-ou-se
Copy link
Member

m-ou-se commented Sep 7, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Sep 7, 2022

📌 Commit 0fe54d4 has been approved by m-ou-se

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 Sep 7, 2022
@m-ou-se m-ou-se added beta-accepted Accepted for backporting to the compiler in the beta channel. stable-accepted Accepted for backporting to the compiler in the stable channel. labels Sep 7, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 9, 2022
Rollup of 5 pull requests

Successful merges:

 - rust-lang#101366 (Restore old behaviour on broken UNC paths)
 - rust-lang#101492 (Suggest adding array lengths to references to arrays if possible)
 - rust-lang#101529 (Fix the example code and doctest for Formatter::sign_plus)
 - rust-lang#101573 (update `ParamKindOrd`)
 - rust-lang#101612 (Fix code generation of `Rvalue::Repeat` with 128 bit values)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d9609c7 into rust-lang:master Sep 10, 2022
@rustbot rustbot added this to the 1.65.0 milestone Sep 10, 2022
@pietroalbini pietroalbini removed beta-nominated Nominated for backporting to the compiler in the beta channel. stable-nominated Nominated for backporting to the compiler in the stable channel. stable-accepted Accepted for backporting to the compiler in the stable channel. labels Sep 19, 2022
@pietroalbini
Copy link
Member

Not going to be backported to stable.

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 19, 2022
[stable] Prepare 1.64.0 release

This PR prepares the 1.64.0 stable release builds.

In addition to bumping the channel and including the latest release notes changes, this PR also backports the following PRs:

*  rust-lang#100852
*  rust-lang#101366
*  rust-lang#101468
*  rust-lang#101922

This PR also reverts the following PRs, as decided in rust-lang#101899 (comment):

* rust-lang#95295
* rust-lang#99136 (followup to the previous PR)

r? `@ghost`
cc `@rust-lang/release`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. 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.

Odd result from Path::components on Windows
8 participants