fix: small typos in error messages

This commit is contained in:
rvcas 2023-01-15 18:44:40 -05:00 committed by Lucas
parent c66d07a54c
commit f114905f7d
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ pub enum Error {
)]
KeywordInModuleName { name: String, keyword: String },
#[error("I stumble upon an invalid (non-local) clause guard '{}'.\n", name.purple())]
#[error("I stumbled upon an invalid (non-local) clause guard '{}'.\n", name.purple())]
NonLocalClauseGuardVariable { location: Span, name: String },
#[error("I discovered a positional argument after a label argument.\n")]
@ -162,7 +162,7 @@ pub enum Error {
supplied: Vec<String>,
},
#[error("I stumble upon a reference to an unknown module: '{}'\n", name.purple())]
#[error("I stumbled upon a reference to an unknown module: '{}'\n", name.purple())]
UnknownModule {
location: Span,
name: String,