mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
329 B
Plaintext
11 lines
329 B
Plaintext
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 1 previous error
|
|
|