]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-invalid-fragment-spec.stderr
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr
[rust.git] / tests / ui / macros / macro-invalid-fragment-spec.stderr
1 error: invalid fragment specifier `foo`
2   --> $DIR/macro-invalid-fragment-spec.rs:2:6
3    |
4 LL |     ($x:foo) => ()
5    |      ^^^^^^
6    |
7    = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`
8
9 error: aborting due to previous error
10