Skip to content

Conversation

@MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented May 16, 2025

Summary

This PR updates the MSRV to 1.85 (according to our versioning policy) and the development Rust version to 1.87 (latest).

This PR does not switch to the Rust 2024 edition. I think it's better if we do this in a separate PR

Test Plan

cargo test

@MichaReiser MichaReiser added the internal An internal refactor or improvement label May 16, 2025
enum SourceTextKind {
Text(String),
Notebook(Notebook),
Notebook(Box<Notebook>),
Copy link
Member Author

Choose a reason for hiding this comment

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

Notebooks are massive and clippy complaint that the enum variants where significantly different in size (24 vs > 500)

@github-actions
Copy link
Contributor

mypy_primer results

No ecosystem changes detected ✅

@github-actions
Copy link
Contributor

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.

Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you.

/// Note that this does not specialize generic classes, functions, or type aliases! That is a
/// different operation that is performed explicitly (via a subscript operation), or implicitly
/// via a call to the generic object.
#[must_use]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was this removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Clippy told me that #[must_use] on traits are useless :(

@MichaReiser MichaReiser merged commit 196e4be into main May 16, 2025
35 checks passed
@MichaReiser MichaReiser deleted the micha/rust-187 branch May 16, 2025 07:19
Glyphack pushed a commit to Glyphack/ruff that referenced this pull request May 21, 2025
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.

3 participants