Add failing test for multiline params

This commit is contained in:
Agus Zubiaga 2024-09-20 16:19:56 -03:00
parent 9678046d91
commit 3eadc03e28
No known key found for this signature in database
4 changed files with 42 additions and 1 deletions

View file

@ -914,7 +914,10 @@ pub fn canonicalize_record_destructs<'a>(
}
};
}
_ => unreachable!("Any other pattern should have given a parse error"),
_ => unreachable!(
"Any other pattern should have given a parse error: {:?}",
loc_pattern.value
),
}
}