You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c22cc62
Browse filesBrowse the repository at this point in the historyBrowse files
Fix lints surfaced by Rust 1.98.1 under -D warnings
CI compiles with RUSTFLAGS="-D warnings", so lints added since 1.85.0
fail the build:
- mismatched_lifetime_syntaxes (new in 1.89): eleven signatures elide a
lifetime on the input side (&self / &str) but hide it on the output type
(Vec<Column>, PageHdrIter, CursorStep<S>, Cow<str>). Spell the output
lifetime as '_ as the compiler suggests. No semantic change; this is the
lifetime rustc already inferred.
- unused_assignments: `frameno` in bottomless-cli's restore loop was only
ever copied into BatchReader::new and then incremented, never read.
BatchReader tracks its own next_frame_no and the function returns the
separate last_received_frame_no, so the local was dead since it was
introduced in 4a71b20. Remove it and pass first_frame_no directly.
Verified locally on 1.98.1 with the same flags as CI:
cargo check --all-targets --all-features, cargo fmt --check, and
cargo check -p libsql --no-default-features for core/replication/remote.
0 commit comments