From 865dd43598c195c652aa20aa2523a02ce4296e7a Mon Sep 17 00:00:00 2001 From: sjwang05 <63834813+sjwang05@users.noreply.github.com> Date: Thu, 20 Aug 2026 19:19:14 -0700 Subject: [PATCH] add an HRTB to allow trivial bound to compile with latest rustc --- src/file_load.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file_load.rs b/src/file_load.rs index 1c6f6b9..099a617 100644 --- a/src/file_load.rs +++ b/src/file_load.rs @@ -32,7 +32,7 @@ pub fn parse_file(p: P) -> Result, Box> where P: AsRef, T: FromStr>, - ::Err: Error + 'static, + for<'trivial_bound> ::Err: Error + 'static, { let contents = read_file(p)?;