From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 004313852C64; Wed, 14 Dec 2022 22:22:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 004313852C64 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671056541; bh=shrUOnBp+48O/CsP3AytS2ijDRiTO4tm9zmSN5BgU+A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IrF0DLTlZe06NOh0wOcd8D+Y52IqTzxqbSwhPFVP+3dQDMP2R0ZbLGr0xIAuojT9k tHrAp7HDXAFIsM1uPgLqgKBG4AwFmRClhoCvZQL6gDJ3lno2BWQJ1nUUNYsbI5f08+ DpfIEpCpoabfnQGM9v/E35kTCNKrLW17UjVb+FyU= From: "redi at gcc dot gnu.org" To: gcc-rust@gcc.gnu.org Subject: [Bug rust/108111] Rust meets clang Date: Wed, 14 Dec 2022 22:22: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: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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 #2 from Jonathan Wakely --- (In reply to Marc Poulhi=C3=A8s from comment #1) > I'll need to read a bit more about the 8 (default move assignment op being > deleted). Lexer has this member: buffered_queue input_queue; That has a member of type InputSource& which means it is not assignable, so Lexer is not assignable either. Are you sure you want a reference there? Using std::reference_wrapper would work without needing to cha= nge buffered_queue. --=20 You are receiving this mail because: You are on the CC list for the bug.=