Clippy fails on rustc 1.100: unreachable call in the media handler #479

Closed
opened 2026-11-19 04:30:28 -08:00 by rays · 1 comment
Owner

rustc 1.100.0 (2026-11-09) reports unreachable call at crates/ipx/src/web.rs:2948: the error of serving a media file is Infallible, so e.to_string() can never run. With -D warnings the pre-commit hook refuses every commit touching Rust in ipx. Found committing #478.

rustc 1.100.0 (2026-11-09) reports `unreachable call` at crates/ipx/src/web.rs:2948: the error of serving a media file is `Infallible`, so `e.to_string()` can never run. With `-D warnings` the pre-commit hook refuses every commit touching Rust in ipx. Found committing #478.
rays added the bug label 2026-11-19 04:30:28 -08:00
Author
Owner

Fixed in 9c9c513: the impossible error is matched as one (match e {}). Deployed 2026-11-19.

Fixed in 9c9c513: the impossible error is matched as one (`match e {}`). Deployed 2026-11-19.
rays closed this issue 2026-11-19 04:45:50 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#479