Skip to content

Instantly share code, notes, and snippets.

@bowrocker
Created December 6, 2019 18:46
Show Gist options
  • Save bowrocker/54b559d28e7b58862c94d44904832513 to your computer and use it in GitHub Desktop.
Save bowrocker/54b559d28e7b58862c94d44904832513 to your computer and use it in GitHub Desktop.
error[E0308]: mismatched types
--> boray/src/main.rs:76:9
|
76 | tls_config,
| ^^^^^^^^^^ expected struct `cueball_postgres_connection::TlsConfig`, found a different struct `cueball_postgres_connection::TlsConfig`
|
= note: expected type `cueball_postgres_connection::TlsConfig` (struct `cueball_postgres_connection::TlsConfig`)
found type `cueball_postgres_connection::TlsConfig` (struct `cueball_postgres_connection::TlsConfig`)
note: Perhaps two different versions of crate `cueball_postgres_connection` are being used?
--> boray/src/main.rs:76:9
|
76 | tls_config,
| ^^^^^^^^^^
error[E0308]: mismatched types
--> boray/src/main.rs:96:9
|
96 | config.zookeeper.connection_string,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `cueball_manatee_primary_resolver::ZkConnectString`, found a different struct `cueball_manatee_primary_resolver::ZkConnectString`
|
= note: expected type `cueball_manatee_primary_resolver::ZkConnectString` (struct `cueball_manatee_primary_resolver::ZkConnectString`)
found type `cueball_manatee_primary_resolver::ZkConnectString` (struct `cueball_manatee_primary_resolver::ZkConnectString`)
note: Perhaps two different versions of crate `cueball_manatee_primary_resolver` are being used?
--> boray/src/main.rs:96:9
|
96 | config.zookeeper.connection_string,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
error: Could not compile `boray`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment