Skip to content

Fix warnings reported by recent Rust - #45

Merged
wez merged 2 commits into
meh:masterfrom
proski:fix-warnings
Oct 30, 2025
Merged

Fix warnings reported by recent Rust#45
wez merged 2 commits into
meh:masterfrom
proski:fix-warnings

Conversation

@proski

@proski proski commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

The first commit is the result of running cargo +nightly fix. It fixes inconsistent lifetime elision. Rust warns about it since version 1.89. More details here: rust-lang/rust#138677

The second commit fixes numerous warnings about unused functions in the parser module by moving them to an integration test file. It turns out that src/parser/source.rs only contained test code. Also, all code in src/parser/util.rs except number() was only needed for tests. All that code lives in tests/parser.rs now.

@wez
wez merged commit 3aba9de into meh:master Oct 30, 2025
1 check passed
@wez

wez commented Oct 30, 2025

Copy link
Copy Markdown
Collaborator

Thank you!

@proski
proski deleted the fix-warnings branch October 31, 2025 05:05
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