-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hey there,
The following lines in lib.rs feature an unstable feature (copied).
let std_flag = tz.standard_flags.get(i).copied().unwrap_or_default() !=
let gmt_flag = tz.gmt_flags.get(i).copied().unwrap_or_default() != 0;https://github.com/rust-datetime/zoneinfo-compiled/blob/master/src/lib.rs#L131-L132
Error thrown:
error[E0658]: use of unstable library feature 'copied' (see issue #57126)
--> /home/keo7/.cargo/registry/src/github.com-1ecc6299db9ec823/zoneinfo_compiled-0.4.8/src/lib.rs:131:49
|
131 | let std_flag = tz.standard_flags.get(i).copied().unwrap_or_default() != 0;
| ^^^^^^
|
error[E0658]: use of unstable library feature 'copied' (see issue #57126)
--> /home/keo7/.cargo/registry/src/github.com-1ecc6299db9ec823/zoneinfo_compiled-0.4.8/src/lib.rs:132:44
|
132 | let gmt_flag = tz.gmt_flags.get(i).copied().unwrap_or_default() != 0;
| ^^^^^^
|
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0658`.
error: Could not compile `zoneinfo_compiled`.
Best wishes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels