diff --git a/compiler/reporting/src/error/type.rs b/compiler/reporting/src/error/type.rs index abb7c0d2ac..115d3f6671 100644 --- a/compiler/reporting/src/error/type.rs +++ b/compiler/reporting/src/error/type.rs @@ -19,7 +19,7 @@ pub fn type_problem<'b>( ) -> Report<'b> { use solve::TypeError::*; - fn report<'b>(title: String, doc: RocDocBuilder<'_>, filename: PathBuf) -> Report<'_> { + fn report(title: String, doc: RocDocBuilder<'_>, filename: PathBuf) -> Report<'_> { Report { title, filename,