Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require 'static for P::Error and S::Error when using ServiceChainBuilder #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jackh726
Copy link

This crate currently relies on a bug in the compiler, and will stop compiling after rust-lang/rust#118553.

ServiceChainBuilder requires that P and S implement Service. However, the impl of Service for ServiceChain also requires that P and S outlive 'static. This is unfortunately a breaking change, but should be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant