mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/parser/error.rs')
| -rw-r--r-- | lemu/src/parser/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lemu/src/parser/error.rs b/lemu/src/parser/error.rs index 41a0296..c2b053b 100644 --- a/lemu/src/parser/error.rs +++ b/lemu/src/parser/error.rs @@ -144,7 +144,7 @@ pub enum Error<'s> { /// .display(); /// ``` NoDisplay(usize, Span), - /// We have a limit of [`u16::MAX`] variables. + /// We have a limit of [`u32::MAX`] variables. #[error("too many variables")] TooManyVariables(Span), } @@ -433,7 +433,7 @@ impl Error<'_> { } Self::TooManyVariables(s) => { msg!("{error}: {bold_red}too many variables{reset}. ") - .label((s, cmt!("we only have 255 variable slots"))) + .label((s, cmt!("we only have 65536 variable slots"))) .note(cmt!("consider not using variables")); } }; |