From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 53E0E3858CDA; Mon, 26 Sep 2022 11:04:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53E0E3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664190276; bh=UHrI+OSqeeOBT5UplQt9M3VZJnbBlwhE2eK+fOhRne0=; h=From:To:Subject:Date:From; b=CMiN0RI8ITHoepH3t1l6I+r0xZCxy79qVpLhMmsUSSkxJBQFCqQr0S6hefAkefmA5 nLKMDZAEesBQ+HJzBfm4AidSH+xPga0Ep7IW0k92Mb7YME3eE30QljetXbMfSoqb+w ONuLZM5M6zXCzFtCWP5Xtsjf9+W8ZMmNtU0NK/I8= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1532 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 6da3cab7b0acf5dc363c85069bef716923ddf90c X-Git-Newrev: cfd2938f069598e9be25484f16ac045606c69e72 Message-Id: <20220926110436.53E0E3858CDA@sourceware.org> Date: Mon, 26 Sep 2022 11:04:36 +0000 (GMT) List-Id: https://gcc.gnu.org/g:cfd2938f069598e9be25484f16ac045606c69e72 commit cfd2938f069598e9be25484f16ac045606c69e72 Merge: 6da3cab7b0a c71b174a29c Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Mon Sep 26 06:58:57 2022 +0000 Merge #1532 1532: attributes: Add #[macro_use] as builtin r=CohenArthur a=CohenArthur Fixes #1531 I think the checking for builtin attributes should definitely be moved to the `AttributeChecker` visitor. It's also a bit messy at the moment considering it isn't in effect on *everything*, simply some nodes such as `Module`s. Thoughts? Co-authored-by: Arthur Cohen Diff: gcc/rust/util/rust-attributes.cc | 1 + gcc/testsuite/rust/compile/macro_export_1.rs | 2 ++ 2 files changed, 3 insertions(+)