diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-30 07:18:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-30 07:18:10 +0200 |
| commit | 639116505a6c27a1fe4453aa6c108bc4e4976b2b (patch) | |
| tree | 9f3edc370126ce75bc07f05f5f6850a13c1b5eef /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | dafea5f9198c9a187e9c623853cab2d4fe2e8416 (diff) | |
| parent | 3ed435f8cbb1bde962b777edebc5637353b5b7ae (diff) | |
| download | rust-639116505a6c27a1fe4453aa6c108bc4e4976b2b.tar.gz rust-639116505a6c27a1fe4453aa6c108bc4e4976b2b.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
