-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
Description
The previous version of the chrono-humanize
crate fails to compile with the lower range bound must be less than or equal to upper
error (see the build log). No error nor warning was present in the 1.25 release.
error[E0030]: lower range bound must be less than or equal to upper
--> src/humantime.rs:88:13
|
88 | MIN...-1 => Tense::Past,
| ^^^ lower bound larger than upper bound
Since MIN
is actually std::i64::MIN
, the error is wrong and should be fixed.
- chrono-humanize 0.0.10 regressed from stable to beta (build log) cc @imp
Metadata
Metadata
Assignees
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.