Skip to content

Commit

Permalink
Merge pull request #7507 from imclerran/fix-gramatical-error
Browse files Browse the repository at this point in the history
Fix grammatical error in monomorphization borrower error message
  • Loading branch information
Anton-4 authored Jan 13, 2025
2 parents af352e3 + 5774095 commit 070de58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/mono/src/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"
Expand Down

0 comments on commit 070de58

Please sign in to comment.