fix new clippy warnings

This commit is contained in:
Folkert 2020-03-12 22:56:58 +01:00
parent 4da01c720e
commit f02193b962
3 changed files with 11 additions and 5 deletions

View file

@ -1310,8 +1310,11 @@ pub fn ident_etc<'a>(min_indent: u16) -> impl Parser<'a, Expr<'a>> {
region: loc_arg.region,
});
}
Err(_malformed) => {
panic!("TODO early return malformed pattern");
Err(malformed) => {
panic!(
"TODO early return malformed pattern {:?}",
malformed
);
}
}
}