diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-06 16:23:18 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-06 16:23:18 +0300 |
commit | 313c044b4a878a425aaca6554576f5154ace8ff9 (patch) | |
tree | 706bf5e34678622111a23c7045f667c1acbe7c6d /src/type/display.rs | |
parent | 23b2028bdce46d02209fc2df70fc5468a8beffa8 (diff) | |
download | myslip-313c044b4a878a425aaca6554576f5154ace8ff9.tar.gz myslip-313c044b4a878a425aaca6554576f5154ace8ff9.zip |
Implemented let-bindings
Diffstat (limited to 'src/type/display.rs')
-rw-r--r-- | src/type/display.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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"), } } |