From patchwork Tue Feb 21 12:02:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 60049 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1843396wrn; Tue, 21 Feb 2023 04:52:19 -0800 (PST) X-Google-Smtp-Source: AK7set983ZgIi18RrKi3/IiQRil2UJnaw2zkj9PSGNykCjaH9UA5xXcRqT6tM+A4G02HxtKJVU79 X-Received: by 2002:a17:906:35d5:b0:8b1:e791:faef with SMTP id p21-20020a17090635d500b008b1e791faefmr13068558ejb.67.1676983939157; Tue, 21 Feb 2023 04:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676983939; cv=none; d=google.com; s=arc-20160816; b=VW9OVw3Q8fP2Qdk7cWFj3snNVCiQLoyXywdtHvZQMnRDYrnat9Y3PyRLpvdf7lAQaJ 4PVEf4dJZmwW3cKc0pMMwMr/UKADQkfHXnShBUXLeE80UHJ6WbXxmCIOu0R3R0N/rfGw OA49KlIIP1QxHPcOZN8/VnrqYG1QdvHNwfuFC0WuIQmSaCuF6TKPwhMGBnrjhpt4bWIJ YxAYuD02nfXWLDX+vsR+HRFGXBMf5y/ArUOlZ+ZD4Wyxr4d7IDGuqs/keoG+sJbWGg+b sCXq3NhKmHj0H2kP5Id9Rq4GyiAh8lZn1KQCNFWfyjchGC9R43OErUzKqS6EEu3rBgVK p4aQ== 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=fyKICt+4TiK9BChXFRyg7ODWF5w2yKwl7iEPs1xHLCk=; b=UJf2bJArdbK8zG0QKfWYQmtUlO/c0Snw1GCA8gc2yJspdrWO7/tt60gFcVAIxFgIQ7 8Ji2t2JAcTDhxVcFBWuTZVZJ4+NaS8JRCRAA/sBJpEDf99HRIlvBJwr3dN3/XuSVNnjL 3GgTC7rP8PwIJw0WbPHSlpb+O7rgXd5IAUMVxoUmt827MAdHSAPnrHgmfJn24GfUEYfX nd8HW4zkbBaPV42jmbJVOO/aeoMrHDyf5u4R06Bt5mkSDd6sbcmDJzMC/lQblvDeHwWS Z/evZoXtW5OUXOTW3I1tVfH8wus2ypUxlxZ1qO40i+3gBFWVcu22EEXUC7aUKR/zxCOw a5rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=Mbjm1N91; 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 um36-20020a170907cb2400b008777da65fc8si18139097ejc.781.2023.02.21.04.52.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:52:19 -0800 (PST) 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=Mbjm1N91; 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 8CE04396E01E for ; Tue, 21 Feb 2023 12:17:48 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id A689C38493CD for ; Tue, 21 Feb 2023 12:04:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A689C38493CD 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-wr1-x436.google.com with SMTP id c5so4851414wrr.5 for ; Tue, 21 Feb 2023 04:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; 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=fyKICt+4TiK9BChXFRyg7ODWF5w2yKwl7iEPs1xHLCk=; b=Mbjm1N91br4u9D7D2GzemLlDIBnpfIq4eJO9a76WhokJdXwWcav4OYYKwuvu+TuFe5 fuKaOf6H5YfPYlF7rPBlUtcVPZE5zA4UH5cUAGpglQMY5VWtYVbkf+7lzyW36bgGvDja 9kUcpNMMl80iVyjnc7TssZxMog2uGtxRXYYQg8Fo4ooKWyMEFI5uV1UY41xlB9paASMU KJkXFg2iJBOBKXOEgjdnscUJ8ENmnv8f9plfA09jgvIQm85qh6wug/Ks3AOXgt0uEZ1v FhJ2xDqCBMFjdYYH+77AZP+IWL8GxUZ2AC+NJwVAn+zQ+MxOE+5VpY+rvtCXrsDaFXBy /Wcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=fyKICt+4TiK9BChXFRyg7ODWF5w2yKwl7iEPs1xHLCk=; b=yIq+tlIsJxDwj/LedZRgpSeYQk9+oIyYvTiz17neZuXI/v5OF05gKrCVqKnqNQwQHH OEm2l6EdjXz+0Ri7M4zcj6QYx2tlJ7TUWtr+jmL8xDcRo7VsyY0NYDojuPRQfdlzw4X8 1XqJyNlaBw8HRZZgVPeUpQ4wpajm+CXpbxup9XXL43bAs9OLy9MQQ/7/rqVzsgc5IUtA E5BoBvvsm4y62ExuHM13JJhV6zAeHZ55yg7Y7AV1mPt29ibWvPP5+nUZGcfhR0eU/NVv MuKkrWNJLkuINFZpwzvHPCC4Gh1mb4EeSgvKMesC5pAhoTggpDpHK7XKKJGOWTFPtQU6 Ju1A== X-Gm-Message-State: AO0yUKWgNgB0sWN37Ad6+RrrwhoVNzz6ZHV75xn7ToPiQMKrAIydSvZy MGpu6z7BSreQQRRdH7Q+pHntcL/nWkPMitz10Q== X-Received: by 2002:a5d:654f:0:b0:2c5:4b93:ee44 with SMTP id z15-20020a5d654f000000b002c54b93ee44mr4582028wrv.60.1676981067986; Tue, 21 Feb 2023 04:04:27 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id c15-20020adffb4f000000b002c55b0e6ef1sm5013811wrs.4.2023.02.21.04.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:04:27 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Jakub Dupak Subject: [committed 079/103] gccrs: ast: Dump inferred type Date: Tue, 21 Feb 2023 13:02:09 +0100 Message-Id: <20230221120230.596966-80-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221120230.596966-1-arthur.cohen@embecosm.com> References: <20230221120230.596966-1-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.3 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=unavailable 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?1758445111086774252?= X-GMAIL-MSGID: =?utf-8?q?1758445111086774252?= From: Jakub Dupak gcc/rust/ChangeLog: * ast/rust-ast-dump.cc (Dump::visit): Add missing visitor. Signed-off-by: Jakub Dupak --- gcc/rust/ast/rust-ast-dump.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/rust/ast/rust-ast-dump.cc b/gcc/rust/ast/rust-ast-dump.cc index 9393f957aa2..a37d5addbc4 100644 --- a/gcc/rust/ast/rust-ast-dump.cc +++ b/gcc/rust/ast/rust-ast-dump.cc @@ -1661,6 +1661,9 @@ Dump::visit (SliceType &type) void Dump::visit (InferredType &) { + // Syntax: + // _ + stream << "_"; }