From 1a5dbc70fe4122f438b3b46702a10301e351c29d Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 2 Sep 2023 13:12:05 -0700 Subject: [PATCH] Add link to GAT PR --- src/display.rs | 2 ++ 1 file changed, 2 insertions(+) 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;