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)?;