Skip to content

example fetch.rs fails to build #16

@jonassmedegaard

Description

@jonassmedegaard

Example program examples/fetch.rs fails to build, complaining like this:

   Compiling imap-client v0.2.3 (/build/rust-imap-client-0.2.3)
error[E0432]: unresolved import `imap_client::Client`
 --> examples/fetch.rs:7:5
  |
8 |     Client,
  |     ^^^^^^
  |     |
  |     no `Client` in the root
  |     help: a similar name exists in the module (notice the capitalization): `client`
  |
  = help: consider importing one of these items instead:
          imap_client::client::Client
          imap_client::client::tokio::Client
          imap_next::client::Client
          tokio_rustls::TlsStream::Client

NB! I am building from a slightly patched codebase, so if the above looks fishy then maybe assume I messed up the code more than I assumed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions