mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-26 16:37:30 +03:00
Update errors
This commit is contained in:
parent
49a0c7a469
commit
144ef44b8c
@ -29,4 +29,11 @@ create_messages!(
|
||||
msg: format!("The loop range must be increasing."),
|
||||
help: None,
|
||||
}
|
||||
|
||||
@formatted
|
||||
variable_array_access {
|
||||
args: (),
|
||||
msg: format!("The array index must be constant."),
|
||||
help: None,
|
||||
}
|
||||
);
|
||||
|
@ -705,4 +705,11 @@ create_messages!(
|
||||
msg: format!("An array cannot have a tuple as an element type"),
|
||||
help: None,
|
||||
}
|
||||
|
||||
@formatted
|
||||
array_element_cannot_be_record {
|
||||
args: (),
|
||||
msg: format!("An array cannot have a record as an element type"),
|
||||
help: None,
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user