Matthias Krüger 639116505a
Rollup merge of #114704 - bvanjoi:fix-114636, r=compiler-errors
parser: not insert dummy field in struct

Fixes #114636

This PR eliminates the dummy field, initially introduced in #113999, thereby enabling unrestricted use of `ident.unwrap()`. A side effect of this action is that we can only report the error of the first macro invocation field within the struct node.

An alternative solution might be giving a virtual name to the macro, but it appears more complex.(https://github.com/rust-lang/rust/issues/114636#issuecomment-1670228715). Furthermore, if you think https://github.com/rust-lang/rust/issues/114636#issuecomment-1670228715 is a better solution, feel free to close this PR.
2023-08-30 07:18:10 +02:00
..
2023-05-01 16:15:13 +08:00
2023-05-01 16:15:17 +08:00
2023-05-05 21:44:48 +02:00
2023-05-05 21:44:48 +02:00
2023-06-10 14:46:11 -04:00
2023-06-10 14:46:11 -04:00
2023-05-05 11:17:14 -04:00