mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
clippy
This commit is contained in:
parent
28be4e5ee2
commit
2253e849d4
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ pub fn error_and_exit(args: fmt::Arguments) -> ! {
|
|||
}
|
||||
}
|
||||
|
||||
pub const INTERNAL_ERROR_MESSAGE: &'static str = concat!(
|
||||
pub const INTERNAL_ERROR_MESSAGE: &str = concat!(
|
||||
"An internal compiler expectation was broken.\n",
|
||||
"This is definitely a compiler bug.\n",
|
||||
"Please file an issue here: <https://github.com/roc-lang/roc/issues/new/choose>\n",
|
||||
|
@ -116,7 +116,7 @@ macro_rules! internal_error {
|
|||
})
|
||||
}
|
||||
|
||||
pub const USER_ERROR_MESSAGE: &'static str = concat!(
|
||||
pub const USER_ERROR_MESSAGE: &str = concat!(
|
||||
"We ran into an issue while compiling your code.\n",
|
||||
"Sadly, we don't have a pretty error message for this case yet.\n",
|
||||
"If you can't figure out the problem from the context below, please reach out at <https://roc.zulipchat.com>\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue