-
-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Labels
C-bugCategory: bug in current codeCategory: bug in current code
Description
I noticed sqlx-sqlite
(0.7.4) does not build with 0.3.35 (but built with 0.3.34):
error[E0432]: unresolved import `time::format_description::FormatItem`
--> .../sqlx-sqlite-0.7.4/src/types/time.rs:192:72
|
192 | use time::format_description::{modifier, Component::*, FormatItem, FormatItem::*};
| ^^^^^^^^^^ `FormatItem` is a type alias, not a module
So evidently replacing an enum with a type alias is a breaking change. One possible fix is to replace the type alias with a re-export i.e. pub use BorrowedFormatItem as FormatItem;
, but unfortunately deprecating re-exports doesn't work: rust-lang/rust#30827
izolyomi, RemiBardon and gilgabo
Metadata
Metadata
Assignees
Labels
C-bugCategory: bug in current codeCategory: bug in current code