put closure tests into one file

This commit is contained in:
Folkert 2021-02-19 21:29:33 +01:00
parent 903c0d8dec
commit ff20ab76ce
6 changed files with 8 additions and 104 deletions

View file

@ -6514,8 +6514,10 @@ fn from_can_pattern_help<'a>(
debug_assert_eq!(
arguments.len(),
argument_layouts[1..].len(),
"{:?}",
tag_name
"The {:?} tag got {} arguments, but its layout expects {}!",
tag_name,
arguments.len(),
argument_layouts[1..].len(),
);
let it = argument_layouts[1..].iter();