Fix a spelling mistake; how was this ever passing?

This commit is contained in:
Chelsea Troy 2021-12-01 18:41:37 -06:00
parent 2eefe9ff6d
commit f680ee3c24
5 changed files with 8 additions and 8 deletions

View file

@ -845,14 +845,14 @@ fn pretty_runtime_error<'b>(
Unknown => " ",
QualifiedIdentifier => " qualified ",
EmptySingleQuote => " empty character literal ",
MulitpleCharsInSingleQuote => " overfull literal ",
MultipleCharsInSingleQuote => " overfull literal ",
};
let tip = match problem {
MalformedInt | MalformedFloat | MalformedBase(_) => alloc
.tip()
.append(alloc.reflow("Learn more about number literals at TODO")),
EmptySingleQuote | MulitpleCharsInSingleQuote | Unknown | BadIdent(_) => {
EmptySingleQuote | MultipleCharsInSingleQuote | Unknown | BadIdent(_) => {
alloc.nil()
}
QualifiedIdentifier => alloc.tip().append(
@ -1160,7 +1160,7 @@ fn pretty_runtime_error<'b>(
title = SYNTAX_PROBLEM;
}
RuntimeError::MulitpleCharsInSingleQuote(region) => {
RuntimeError::MultipleCharsInSingleQuote(region) => {
let tip = alloc
.tip()
.append(alloc.reflow("Learn more about character literals at TODO"));