From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 25E07385829B; Tue, 16 Jan 2024 17:24:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25E07385829B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705425862; bh=/qN1Ig1SGzDgbpgCO5IUye8PAlGLhM9n4PewpHNdJG4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NQO34yVbs+WcPEuOPFhiH6WoyA9eZ6SoW0S0eWTeT/hDqJ+MHO32lxxRzG5y+Zxre 8a+2zETp7M+kAk+V+PXnzEKSos+NXEwU6aY6/PuD1vg8aR1rJkcUocj0su0JUtUYMK XyBN5bY6KUQlfSCv6ko1x5RX6HLPSXXyo0FDk2tE= From: "cvs-commit at gcc dot gnu.org" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/108111] Rust meets clang Date: Tue, 16 Jan 2024 17:24:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rust X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108111 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Arthur Cohen : https://gcc.gnu.org/g:2046aec032f743023a5e353735255d951e2e54d6 commit r14-7347-g2046aec032f743023a5e353735255d951e2e54d6 Author: Marc Poulhi=C3=A8s Date: Sat Dec 17 16:23:05 2022 +0100 gccrs: fix some clang warnings This fixes some extra warnings reported by clang. gcc/rust/ChangeLog: PR rust/108111 * ast/rust-ast-full-decls.h (StructPatternElements): Declare as= a class. * ast/rust-item.h (EnumItem): Mark several method as being overrides. * ast/rust-pattern.h (StructPattern::get_locus): Add override. * lex/rust-lex.h (BufferInputSource): Use reference_wrapper instead of bare reference. (TokenSource::get): Add method to implement the reference_wrapp= er interface. * typecheck/rust-tyty.h (TypeBoundPredicate): Add empty dtor. * util/rust-buffered-queue.h (peek): Source token stream is now using a reference_wrapper, use .get() Signed-off-by: Marc Poulhi=C3=A8s --=20 You are receiving this mail because: You are on the CC list for the bug.=