summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-invalid-fragment-spec.stderr
blob: b047344826551e23c9f14d951aa97bb3d75d3e5c (plain)
1
2
3
4
5
6
7
8
9
10
error: invalid fragment specifier `foo`
  --> $DIR/macro-invalid-fragment-spec.rs:2:6
   |
LL |     ($x:foo) => ()
   |      ^^^^^^
   |
   = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`

error: aborting due to previous error