Skip to content

fix: Use the correct edition when formatting code in path dependencies #13795

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

Merged
merged 1 commit into from
Dec 19, 2022
Merged

fix: Use the correct edition when formatting code in path dependencies #13795

merged 1 commit into from
Dec 19, 2022

Conversation

jonas-schievink
Copy link
Contributor

Fixes #13790

Don't go through the Cargo workspace info, since that doesn't contain path dependencies. Instead, query the crate graph via Analysis::crate_edition.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 19, 2022
@jonas-schievink
Copy link
Contributor Author

@bors r+

@bors
Copy link
Contributor

bors commented Dec 19, 2022

📌 Commit 5706910 has been approved by jonas-schievink

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Dec 19, 2022

⌛ Testing commit 5706910 with merge ffedfc6...

@bors
Copy link
Contributor

bors commented Dec 19, 2022

☀️ Test successful - checks-actions
Approved by: jonas-schievink
Pushing ffedfc6 to master...

@bors bors merged commit ffedfc6 into rust-lang:master Dec 19, 2022
@jonas-schievink jonas-schievink deleted the fix-rustfmt-edition-in-path-deps branch December 19, 2022 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async functions in sub-crate break formatting
3 participants