mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
add roc check tip
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
7811d88768
commit
ed01e521f0
1 changed files with 4 additions and 2 deletions
|
@ -395,8 +395,10 @@ impl<'state, 'a> State<'state, 'a> {
|
||||||
Some(s) => s,
|
Some(s) => s,
|
||||||
None => unreachable!(
|
None => unreachable!(
|
||||||
"\n\tNo borrow signature for {name:?} layout.\n\n\t\
|
"\n\tNo borrow signature for {name:?} layout.\n\n\t\
|
||||||
Tip: This can happen when you call a function with less arguments than it expects.\n\t\
|
Tip 1: This can happen when you call a function with less arguments than it expects.\n\t\
|
||||||
Like `Arg.list!` instead of `Arg.list! {{}}`"
|
Like `Arg.list!` instead of `Arg.list! {{}}`.\n\t
|
||||||
|
Tip 2: `roc check yourfile.roc` can sometimes give you a helpful error.
|
||||||
|
"
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue