We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a675b0b commit 272f1a8Copy full SHA for 272f1a8
1 file changed
tokio-postgres/src/config.rs
@@ -294,14 +294,17 @@ impl fmt::Display for UnknownOption {
294
impl error::Error for UnknownOption {}
295
296
#[derive(Debug)]
297
+#[cfg(feature = "runtime")]
298
struct InvalidValue(&'static str);
299
300
301
impl fmt::Display for InvalidValue {
302
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
303
write!(fmt, "invalid value for option `{}`", self.0)
304
}
305
306
307
308
impl error::Error for InvalidValue {}
309
310
struct Parser<'a> {
0 commit comments