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

Upgrade to Rust 1.78 #11260

Merged
merged 2 commits into from
May 3, 2024
Merged

Upgrade to Rust 1.78 #11260

merged 2 commits into from
May 3, 2024

Conversation

MichaReiser
Copy link
Member

Summary

Sets the local toolchain to 1.78. This PR does not update the minimal required rust version.

Test Plan

cargo test

@MichaReiser MichaReiser added the internal An internal refactor or improvement label May 3, 2024
/// no comments are dropped.
///
/// A node can have dangling comments if all its children are tokens or if all node children are optional.
fn fmt_dangling_comments(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function was never called, 🤭

I decided to instead inline the debug_assertion in fmt and test that all dangling comments were formatted.

Copy link
Contributor

github-actions bot commented May 3, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

crates/ruff/src/args.rs Outdated Show resolved Hide resolved
crates/ruff/src/args.rs Outdated Show resolved Hide resolved
crates/ruff_linter/src/directives.rs Outdated Show resolved Hide resolved
crates/ruff_formatter/src/printer/queue.rs Show resolved Hide resolved
docs/configuration.md Outdated Show resolved Hide resolved
@MichaReiser MichaReiser enabled auto-merge (squash) May 3, 2024 12:38
@MichaReiser MichaReiser merged commit 6a1e555 into main May 3, 2024
19 checks passed
@MichaReiser MichaReiser deleted the rust-1.78 branch May 3, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants