Commit 71bd61d
committed
fix(sqlite): silence time 0.3.48 modifier deprecations under -D warnings
time 0.3.48 deprecated the field-based `modifier::{Year, Month, Hour}`
format components and raw-byte `Literal`, which broke `clippy -D warnings`
in CI (no Cargo.lock, so the latest `time` is resolved). The new
`#[non_exhaustive]` replacements aren't const-constructible the way these
`const` format items need, and the deprecated API still works, so scope an
`#![allow(deprecated)]` to `mod formats` as a stopgap.
Tracking for migration: #4310
Signed-off-by: Bailey Hayes <bailey@cosmonic.com>1 parent 3da582a commit 71bd61d
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
196 | 205 | | |
197 | 206 | | |
198 | 207 | | |
| |||
0 commit comments