From 313c044b4a878a425aaca6554576f5154ace8ff9 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Wed, 6 Aug 2025 16:23:18 +0300 Subject: Implemented let-bindings --- src/type/display.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/type/display.rs') diff --git a/src/type/display.rs b/src/type/display.rs index fe54941..4a9b54a 100644 --- a/src/type/display.rs +++ b/src/type/display.rs @@ -103,6 +103,13 @@ impl fmt::Display for TypeError { argtype, generictype ) }, + LetAsOperator(letexp) => { + write!( + f, + "let used as operator instead of generating an operator: maybe try '({} ...)' instead", + letexp + ) + }, OtherError => write!(f, "uncategorized error"), } } -- cgit v1.2.3