-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Description
Hello,
I use renovate bot to keep my dependencies up-to-date.
When going from release 0.3.0
to 0.3.1
of crate lambda_http
, I need to update code in order to make it compile.
Sadly, I can not share actual code with you.
Here is the compiler line complaining about added lifetime parameter:
error[E0726]: implicit elided lifetime not allowed here
--> src/mslambda.rs:21:6
|
21 | impl lambda_http::Handler for Router {
| ^^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
To remain semver, version 0.3.1
should be yanked and renamed 0.4.0
Apart from this, fixing the compile error is just a matter of adding the anonymous lifetime:
impl lambda_http::Handler<'_> for Router {
Metadata
Metadata
Assignees
Labels
No labels