1 error: invalid fragment specifier `foo`
2 --> $DIR/macro-invalid-fragment-spec.rs:2:6
7 = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`
9 error: aborting due to previous error