Skip to content

Conversation

@schneems
Copy link
Contributor

@schneems schneems commented Nov 17, 2025

Adding this clippy.toml file will prevent anyone from using a function from std::fs so we do not accidentally emit any errors missing filenames. Running cargo clippy --fix will also auto-replace them with the correct fs_err method.

Unfortunately, the path extension methods cannot be automatically migrated, but at least clippy will emit a helpful error message for them.

@schneems schneems marked this pull request as ready for review November 17, 2025 23:10
@schneems schneems requested a review from a team as a code owner November 17, 2025 23:10
@schneems schneems enabled auto-merge (squash) November 17, 2025 23:10
@schneems schneems merged commit a6f1c5e into main Nov 18, 2025
22 checks passed
@schneems schneems deleted the schneems/clippy-fs-err branch November 18, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants