mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Use internal_error over panic
This commit is contained in:
parent
1caebcff56
commit
e421ef61be
1 changed files with 2 additions and 2 deletions
|
@ -204,13 +204,13 @@ macro_rules! assert_copyable {
|
|||
#[macro_export]
|
||||
macro_rules! _incomplete_project {
|
||||
($project_name:literal, $tracking_issue_no:literal) => {
|
||||
panic!(
|
||||
$crate::internal_error!(
|
||||
"[{}] not yet implemented. Tracking issue: https://github.com/roc-lang/roc/issues/{}",
|
||||
$project_name, $tracking_issue_no,
|
||||
)
|
||||
};
|
||||
($project_name:literal, $tracking_issue_no:literal, $($arg:tt)+) => {
|
||||
panic!(
|
||||
$crate::internal_error!(
|
||||
"[{}] not yet implemented. Tracking issue: https://github.com/roc-lang/roc/issues/{}.\nAdditional information: {}",
|
||||
$project_name, $tracking_issue_no,
|
||||
format_args!($($arg)+),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue