fixes https://github.com/rust-lang/rust-clippy/issues/13734 This PR renames `unchecked_duration_subtraction` lint to `unchecked_time_subtraction` and extends it to include `Duration - Duration` operations. Previously, it was only `Instant - Duration`. `Duration - Duration` is a common operation which may panic in the same way. Note: This is my first clippy PR, feedback is appreciated. changelog: [`unchecked_time_subtraction`]: renamed from `unchecked_duration_subtraction`, extend lint to include subtraction of a `Duration` with a `Duration` |
||
|---|---|---|
| .. | ||
| test_utils | ||
| ui | ||
| ui-cargo | ||
| ui-internal | ||
| ui-toml | ||
| workspace_test | ||
| check-fmt.rs | ||
| clippy.toml | ||
| compile-test.rs | ||
| config-consistency.rs | ||
| config-metadata.rs | ||
| dogfood.rs | ||
| integration.rs | ||
| lint_message_convention.rs | ||
| missing-test-files.rs | ||
| no-profile-in-cargo-toml.rs | ||
| symbols-used.rs | ||
| versioncheck.rs | ||
| workspace.rs | ||