From patchwork Wed Apr 5 14:03:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 79721 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp363710vqo; Wed, 5 Apr 2023 07:48:51 -0700 (PDT) X-Google-Smtp-Source: AKy350bjW6o0HyQQKEFcUEep9xXX7kjqeQIYFs78vWXTO/+Sl0f4JFuUUrKqikTIUPl/DAQ0XWIx X-Received: by 2002:a17:906:f10d:b0:8eb:d3a5:b9f0 with SMTP id gv13-20020a170906f10d00b008ebd3a5b9f0mr3096709ejb.67.1680706131596; Wed, 05 Apr 2023 07:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680706131; cv=none; d=google.com; s=arc-20160816; b=FrD0QVcnSF3gZUcMW0JWLQ7RzIFXCeuWeViDK2gkjEfkeJ5lh2rJIkwg/ZEn/oAA9A 1LC6vRBxO9ambLxbN4PbKpLqb3xwy9sDDFWZYxUpvH2q0js5aVN6lzr1zZxbsRmVMeHV ufwUZHyOxQ4sXr3gV40/G1HuAu82rIkPvrroyIzGwUp/GiERiKAjOj4tMYimhxplDQjU AO8vjaVOMTTnHTieUD2YbMHcZ08ZTbh9oJ+wtqef+B8dnXTA9FNqYXeh+jFWiYB4ITs8 tUcpnt1pvx0yTfoqNrig3uH038IWgluxkEujEVz3HKf7kWcftJCK+frdCQfkmGHipjf9 /i+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dmarc-filter :delivered-to; bh=YQt1VzdknakxWtmv6fQvcSdTZ/2tdcwjslN8FHS7ldI=; b=D2pzeF4rAxaIqj5IHs4AvIHSjdLtSQ3OFJD3rNfuuvbka0ZwzZi/0nvAIWE9fGipDe GzxFGAPb3swVhbYWYMFJAVGhHhvSQAMCEn/09akGd1bhqQ/m6X3eReGveZCmlhtbi1wH 1WykM8Yv3kiTXKYuFdMNHaluKLurd3q0MKnV9JIfyM7P0oVti6iyxeGuEXjwMD/ik2gh 1ttIRf2Z8kFqwtFMUxrV8RQy4t8qjm2JIof8IqQjTAwhpxVoSo34TsIc8U44Ua7clRPw 1b3CKcIP7DkA3orU63m4sM+WvPYfyVLescFCBe9FkYZqjLSnMDRaPMi2JrKTRr6IUd+2 t2NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=ae2iu1it; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id m26-20020a1709066d1a00b009309c7f5650si4423315ejr.23.2023.04.05.07.48.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:48:51 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=ae2iu1it; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9926A39706FB for ; Wed, 5 Apr 2023 14:17:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id C484838555BD for ; Wed, 5 Apr 2023 14:06:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C484838555BD Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wm1-x32a.google.com with SMTP id l10-20020a05600c1d0a00b003f04bd3691eso7161019wms.5 for ; Wed, 05 Apr 2023 07:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1680703568; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=YQt1VzdknakxWtmv6fQvcSdTZ/2tdcwjslN8FHS7ldI=; b=ae2iu1itEaETemudjBiVPkssuCrYsvlo/caVu822pR46mbzvv8+NTMLJ2rl4rgYs3O Jx8VJFcspdH3dgZYpuIuXZ0OGnq6ktMdQz/ZyQYAnCHHyjRuZeNA+eordazIXU2T/9gG 1i3nPaFyE0adI71L8bSpa6I3FuqfW/gB5feVz4VmZ0kaZwdE3SwmOsnZuHES7cV/th1l 0NDrp58dQB4UuPlb5REiMtfztvo652qFOa/eTQmO6a2c/y5m26k8KMmLpjbTBx5Faqq9 +Z2TicSBYXy01APaSW/J13WZNCBiZIbClNeOERbO9zDsOdbFBfrkLnpMqt0td6FFCuuc dhRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680703568; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YQt1VzdknakxWtmv6fQvcSdTZ/2tdcwjslN8FHS7ldI=; b=3iKaLcmC9+ZNNrnPkwZq2UxjrzxWn8tMZnr+gU1hAgErTFzD7QBlxQN9ZIDyQo+sWW t39Ikm7nWq5LrknKqnNL9+nK1hDcIeufvx20FVqLmFStOgIqlFYkOnt7Ze5NAAxKdBEW QFXl3MnFi8L5jZXNLBfgPGlGUhGHD961uyh0U2s+dZ4YE3jusG7RxEmBsPQ8WZY9aSh3 v1ka9cmAepjpb6f0f0JVwhufJ6X3mTAv7/fXiG/VMA3rufuqxnMmzKirr8cCgtnYlJCG 0WpQTBBok9/LJavTDnk5fXZgsApqSxH+24/hL7126GU+gOxkTLRldqhRBrCb7dcRiMov EJxw== X-Gm-Message-State: AAQBX9fkIXh8q1md7p8+jHxpQjKDHGySnw1qbNCmrPtoOM4X/1ampWBk gXSweakzAGu/kKxgtVf7vdWALKQAF2iqUjbZBQ== X-Received: by 2002:a7b:c3ce:0:b0:3f0:310c:e3cf with SMTP id t14-20020a7bc3ce000000b003f0310ce3cfmr4670008wmj.37.1680703568175; Wed, 05 Apr 2023 07:06:08 -0700 (PDT) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id ay8-20020a05600c1e0800b003edddae1068sm2330150wmb.9.2023.04.05.07.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:06:07 -0700 (PDT) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Arthur Cohen Subject: [committed 57/88] gccrs: rust-item: include rust-expr.h Date: Wed, 5 Apr 2023 16:03:41 +0200 Message-Id: <20230405140411.3016563-58-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230405140411.3016563-1-arthur.cohen@embecosm.com> References: <20230405140411.3016563-1-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762348112542329990?= X-GMAIL-MSGID: =?utf-8?q?1762348112542329990?= From: Arthur Cohen gcc/rust/ChangeLog: * ast/rust-item.h (class BlockExpr): Remove forward declaration of class `BlockExpr`. --- gcc/rust/ast/rust-item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h index 37ed2beabfc..51ed815c700 100644 --- a/gcc/rust/ast/rust-item.h +++ b/gcc/rust/ast/rust-item.h @@ -22,11 +22,11 @@ #include "rust-ast.h" #include "rust-path.h" #include "rust-common.h" +#include "rust-expr.h" namespace Rust { namespace AST { // forward decls -class BlockExpr; class TypePath; // TODO: inline?