Merge pull request #7507 from imclerran/fix-gramatical-error

Fix grammatical error in monomorphization borrower error message
This commit is contained in:
Anton-4 2025-01-13 20:24:52 +01:00 committed by GitHub
commit 070de58416
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -360,7 +360,7 @@ impl<'state, 'a> State<'state, 'a> {
Some(s) => s,
None => unreachable!(
"\n\tNo borrow signature for {name:?} layout.\n\n\t\
Tip 1: 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 fewer arguments than it expects.\n\t\
Like `Arg.list!` instead of `Arg.list! {{}}`.\n\t\
Tip 2: `roc check yourfile.roc` can sometimes give you a helpful error.
"