error[E0310]: the associated type `
::Error` may not live long enough
--> $DIR/sod_service_chain.rs:31:5
|
LL | / pub fn next ::Error` must be valid for the static lifetime...
| ...so that the type ` ::Error` will meet its required lifetime bounds
|
help: consider adding an explicit lifetime bound
|
LL | ) -> ServiceChainBuilder ::Error: 'static {
| ++++++++++++++++++++++++++++++++++++
error[E0310]: the associated type ` ::Error` may not live long enough
--> $DIR/sod_service_chain.rs:40:10
|
LL | ) -> ServiceChainBuilder ::Error` must be valid for the static lifetime...
| ...so that the type ` ::Error` will meet its required lifetime bounds
|
help: consider adding an explicit lifetime bound
|
LL | ) -> ServiceChainBuilder ::Error: 'static {
| ++++++++++++++++++++++++++++++++++++
error[E0310]: the associated type ` ::Error` may not live long enough
--> $DIR/sod_service_chain.rs:31:5
|
LL | / pub fn next ::Error` must be valid for the static lifetime...
| ...so that the type ` ::Error` will meet its required lifetime bounds
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
help: consider adding an explicit lifetime bound
|
LL | ) -> ServiceChainBuilder ::Error: 'static {
| ++++++++++++++++++++++++++++++++++++
error[E0310]: the associated type `::Error` may not live long enough
--> $DIR/sod_service_chain.rs:31:5
|
LL | / pub fn next::Error` must be valid for the static lifetime...
| ...so that the type `::Error` will meet its required lifetime bounds
|
help: consider adding an explicit lifetime bound
|
LL | ) -> ServiceChainBuilder::Error: 'static {
| ++++++++++++++++++++++++++++++++++++
error[E0310]: the associated type `::Error` may not live long enough
--> $DIR/sod_service_chain.rs:40:10
|
LL | ) -> ServiceChainBuilder::Error` must be valid for the static lifetime...
| ...so that the type `::Error` will meet its required lifetime bounds
|
help: consider adding an explicit lifetime bound
|
LL | ) -> ServiceChainBuilder::Error: 'static {
| ++++++++++++++++++++++++++++++++++++
error[E0310]: the associated type `::Error` may not live long enough
--> $DIR/sod_service_chain.rs:31:5
|
LL | / pub fn next::Error` must be valid for the static lifetime...
| ...so that the type `::Error` will meet its required lifetime bounds
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
help: consider adding an explicit lifetime bound
|
LL | ) -> ServiceChainBuilder::Error: 'static {
| ++++++++++++++++++++++++++++++++++++
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0310`.