Add tests and only traverse in the crates directory

This commit is contained in:
DJMcNab 2018-12-19 21:19:32 +00:00
parent db67741430
commit a3b842fb8b
7 changed files with 185 additions and 94 deletions

View file

@ -353,6 +353,7 @@ pub(crate) fn match_arm_list(p: &mut Parser) {
// fn foo() {
// match () {
// _ => (),
// _ if Test>{field: 0} => (),
// X | Y if Z => (),
// | X | Y if Z => (),
// | X => (),