diff --git a/src/lib.rs b/src/lib.rs index 740369a1..847fcb9e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -203,6 +203,7 @@ impl IntoConnectParams for PostgresConnectParams { } impl<'a> IntoConnectParams for &'a str { + #[allow(deprecated)] fn into_connect_params(self) -> Result { match Url::parse(self) { Ok(url) => url.into_connect_params(), diff --git a/src/types/mod.rs b/src/types/mod.rs index f4eadf26..fd5193a8 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -107,6 +107,7 @@ macro_rules! make_postgres_type( } } + /* fn member_type(&self) -> PostgresType { match *self { $( @@ -115,6 +116,7 @@ macro_rules! make_postgres_type( _ => unreachable!() } } + */ } ) )