diff --git a/src/display.rs b/src/display.rs index 58d11e4..27098f1 100644 --- a/src/display.rs +++ b/src/display.rs @@ -3,6 +3,8 @@ use std::path::{self, Path, PathBuf}; #[doc(hidden)] pub trait AsDisplay<'a> { + // TODO: convert to generic associated type. + // https://github.com/dtolnay/thiserror/pull/253 type Target: Display; fn as_display(&'a self) -> Self::Target;