public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1392
@ 2022-07-19 7:40 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-07-19 7:40 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6622ae2cd0a6b69b84a33f61ae7707c02caa88b9
commit 6622ae2cd0a6b69b84a33f61ae7707c02caa88b9
Merge: 265d5e86f26 3bf3ea88786
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Mon Jul 18 16:00:54 2022 +0000
Merge #1392
1392: Ensure we parse any inner item attributes when expanding a module r=philberty a=philberty
When compiling code containing module expansions we must first ensure any
possible inner item attributes are parser first and applied to the module,
otherwise we end up in a bad state and ignore attributes.
Fixes #1089
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diff:
gcc/rust/ast/rust-ast-full-test.cc | 2 ++
gcc/rust/parse/rust-parse.h | 2 +-
gcc/testsuite/rust/compile/issue-1089.rs | 6 ++++++
gcc/testsuite/rust/compile/test_mod.rs | 6 ++++++
4 files changed, 15 insertions(+), 1 deletion(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-19 7:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 7:40 [gcc/devel/rust/master] Merge #1392 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).