c7cd55f7c5
Co-authored-by: Michael Goulet <michael@errs.io> Co-authored-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
19 lines
766 B
Plaintext
19 lines
766 B
Plaintext
error: invalid fragment specifier `id`
|
|
--> $DIR/invalid-fragment-specifier.rs:2:6
|
|
|
|
|
LL | ($wrong:id) => {};
|
|
| ^^^^^^^^^
|
|
|
|
|
= help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`, along with `expr_2021` and `pat_param` for edition compatibility
|
|
|
|
error: invalid fragment specifier `r#if`
|
|
--> $DIR/invalid-fragment-specifier.rs:7:6
|
|
|
|
|
LL | ($wrong:r#if) => {};
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`, along with `expr_2021` and `pat_param` for edition compatibility
|
|
|
|
error: aborting due to 2 previous errors
|
|
|