Skip to content

Compile error on 0.7.1 with rustc 1.32.0-nightly (14997d56a 2018-12-05) #113

@dignifiedquire

Description

@dignifiedquire

Getting this error when enabling the nightly feature

error[E0599]: no method named `checked_add` found for type `std::time::Instant` in the current scope
  --> /Users/dignifiedquire/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.7.1/src/util.rs:39:35
   |
39 |     let deadline = Instant::now().checked_add(timeout);
   |                                   ^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions