You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: cannot subtract TimeDelta from Tm
--> /home/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-1.0.1/src/cookie/jar.rs:224:44
|
224 | cookie.set_expires(time::now() - Duration::days(365));
| ^ no implementation for Tm - TimeDelta
|
= help: the trait Sub<TimeDelta> is not implemented for Tm
= help: the following other types implement trait Sub<Rhs>:
<Tm as Subtime::Duration>
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try rustc --explain E0277.
error: could not compile actix-http (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile mavlink2rest v0.10.0, intermediate artifacts can be found at /tmp.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
The text was updated successfully, but these errors were encountered:
error[E0277]: cannot subtract
TimeDelta
fromTm
--> /home/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-1.0.1/src/cookie/jar.rs:224:44
|
224 | cookie.set_expires(time::now() - Duration::days(365));
| ^ no implementation for
Tm - TimeDelta
|
= help: the trait
Sub<TimeDelta>
is not implemented forTm
= help: the following other types implement trait
Sub<Rhs>
:<Tm as Subtime::Duration>
error[E0308]: mismatched types
--> /home/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-1.0.1/src/cookie/mod.rs:736:40
|
736 | self.set_expires(time::now() + twenty_years);
| ^^^^^^^^^^^^ expected
Duration
, foundTimeDelta
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try
rustc --explain E0277
.error: could not compile
actix-http
(lib) due to 2 previous errorswarning: build failed, waiting for other jobs to finish...
error: failed to compile
mavlink2rest v0.10.0
, intermediate artifacts can be found at/tmp
.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIR
to that path.The text was updated successfully, but these errors were encountered: