diff --git a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___just_use_in_fn_body.snap b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___just_use_in_fn_body.snap index c0c3b05c2..205b045e3 100644 --- a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___just_use_in_fn_body.snap +++ b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___just_use_in_fn_body.snap @@ -22,6 +22,6 @@ warning: Incomplete use expression A use expression must always be followed by at least one expression. -A todo expression has been use in place of the missing code, so +A todo expression has been used in place of the missing code, so this code will crash if it is run. Be sure to finish it before running your program. diff --git a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___no_callback_body.snap b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___no_callback_body.snap index 310cf25f1..126d471dd 100644 --- a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___no_callback_body.snap +++ b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__use___no_callback_body.snap @@ -19,6 +19,6 @@ warning: Incomplete use expression A use expression must always be followed by at least one expression. -A todo expression has been use in place of the missing code, so +A todo expression has been used in place of the missing code, so this code will crash if it is run. Be sure to finish it before running your program. diff --git a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__empty_func_warning_test.snap b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__empty_func_warning_test.snap index 909ca02b2..12adc9c54 100644 --- a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__empty_func_warning_test.snap +++ b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__empty_func_warning_test.snap @@ -16,6 +16,6 @@ warning: Unimplemented function A function must always have an implementation. -A todo expression has been use in place of the missing body, +A todo expression has been used in place of the missing body, so this code will crash if it is run. Be sure to finish it before running your program. diff --git a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__incomplete_code_block_raises_warning.snap b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__incomplete_code_block_raises_warning.snap index f2fa1c58f..d2671177b 100644 --- a/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__incomplete_code_block_raises_warning.snap +++ b/compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__incomplete_code_block_raises_warning.snap @@ -18,6 +18,6 @@ warning: Incomplete block A block must always contain at least one expression. -A todo expression has been use in place of the missing code, +A todo expression has been used in place of the missing code, so this code will crash if it is run. Be sure to finish it before running your program. diff --git a/compiler-core/src/warning.rs b/compiler-core/src/warning.rs index f13a03aff..e508602ea 100644 --- a/compiler-core/src/warning.rs +++ b/compiler-core/src/warning.rs @@ -453,7 +453,7 @@ running your program."; let text = "\ A block must always contain at least one expression. -A todo expression has been use in place of the missing code, +A todo expression has been used in place of the missing code, so this code will crash if it is run. Be sure to finish it before running your program."; ("Incomplete block", text) @@ -462,7 +462,7 @@ running your program."; let text = "\ A function must always have an implementation. -A todo expression has been use in place of the missing body, +A todo expression has been used in place of the missing body, so this code will crash if it is run. Be sure to finish it before running your program."; ("Unimplemented function", text) @@ -471,7 +471,7 @@ running your program."; let text = "\ A use expression must always be followed by at least one expression. -A todo expression has been use in place of the missing code, so +A todo expression has been used in place of the missing code, so this code will crash if it is run. Be sure to finish it before running your program."; ("Incomplete use expression", text)