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

test fails with only feature http1 enabled #108

Open
jonassmedegaard opened this issue Jun 28, 2022 · 0 comments
Open

test fails with only feature http1 enabled #108

jonassmedegaard opened this issue Jun 28, 2022 · 0 comments

Comments

@jonassmedegaard
Copy link

One test fenced with feature http1 fails like this when tested with cargo test --no-default-features --features http1:

error[E0599]: no method named `build` found for struct `ConnectorBuilder` in the current scope
   --> src/connector/builder.rs:271:14
    |
27  | pub struct ConnectorBuilder<State>(State);
    | ------------------------------------------ method `build` not found for this
...
271 |             .build();
    |              ^^^^^ method not found in `ConnectorBuilder<WantsProtocols2>`

Apparently that test additionally requires feature2, or need to be rewritten somehow.

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

No branches or pull requests

1 participant