mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 08:18:44 +00:00
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
|
|
|