we are compiling

This commit is contained in:
Folkert 2022-03-02 18:48:34 +01:00
parent 01a7fe77d4
commit a4889fd571
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 406 additions and 297 deletions

View file

@ -1372,7 +1372,7 @@ fn to_pattern_report<'b>(
}
}
PReason::WhenMatch { index } => {
if index == Index::FIRST {
if index == HumanIndex::FIRST {
let doc = alloc.stack(vec![
alloc
.text("The 1st pattern in this ")
@ -1384,7 +1384,7 @@ fn to_pattern_report<'b>(
found,
expected_type,
add_pattern_category(
HumanIndexlloc,
alloc,
alloc.text("The first pattern is trying to match"),
&category,
),