From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56CF52040B0; Mon, 16 Dec 2024 11:05:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734347109; cv=none; b=VD47fLCO9BR5Dbi/SJDOUjSFE3zePuQ6HlFxoqDFD2U3EqlLJYGjjdh8lyKwnfxtUgD1YERmAQJH2F5KvnrhUqqAVb+aCpCCP3OiBtP6krIZmvFCQg3EK7wug8GomJPjKMDPk9111Y8A4GzA70OcAa7o4/1rAiy65S5tnkSPcVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734347109; c=relaxed/simple; bh=gHGs/YYq62ir4jy8HEmxhcnPeXemMMlQT5Iqw73s42I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=XrBePy9iq5M/GmHw0vVuxxC5lUuD2k7G8ueGPB6mVYJkXuG1Am6PTmbxm/f2XYGluUuRTCPpT/LbdhLpjFIld+8g2DhdLygnWwYsZSLQJ4AZBqij9JKxwthU/1a+aBxbOrLK8zaEjimLRcZEtBR/R4kSDqlZt2zHzBgrT/ECSHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VSQMmRCE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VSQMmRCE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12D5AC4CED0; Mon, 16 Dec 2024 11:05:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734347108; bh=gHGs/YYq62ir4jy8HEmxhcnPeXemMMlQT5Iqw73s42I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VSQMmRCEPL5rU2DSy8O36rNVSB2JXos9uQerJcZ4keh5ggdJpI+a+Fy/uox1P5+qJ gXupG9RoaRt51MIuyifTacwEuUsfIsZTcthJQIDBXMZlo4wErWGaEuCnnUchOg8VWY LrTLv4kj0tj4djMpE50TV3JEjfs4D9hosVnVimHuXyLlyljFtDT95iRAV1Mq3+YBGb E44myIopwT7QXLtAtA8Qik51OSc33DpKk473Eq35MG1PjlVk0Ravg3abqwMA47QGJL boEXxVZCk+jDlgBZZoao6TkmqP3IAZ1vCewY2IgQ6cBOHlXdGkpX8tfnrBLR911T75 gD0AWO/WY+jHQ== From: Andreas Hindborg To: "Alice Ryhl" Cc: "Miguel Ojeda" , "Matthew Wilcox" , "Lorenzo Stoakes" , "Vlastimil Babka" , "John Hubbard" , "Liam R. Howlett" , "Andrew Morton" , "Greg Kroah-Hartman" , "Arnd Bergmann" , "Christian Brauner" , "Jann Horn" , "Suren Baghdasaryan" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , =?utf-8?Q?Bj=C3=B6rn?= Roy Baron , "Benno Lossin" , "Trevor Gross" , , , Subject: Re: [PATCH v11 0/8] Rust support for mm_struct, vm_area_struct, and mmap In-Reply-To: <20241211-vma-v11-0-466640428fc3@google.com> (Alice Ryhl's message of "Wed, 11 Dec 2024 10:37:04 +0000") References: <20241211-vma-v11-0-466640428fc3@google.com> Date: Mon, 16 Dec 2024 12:04:39 +0100 Message-ID: <87cyhrdh2w.fsf@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hi Alice, Applied on top of v6.13-rc2 and tried to build: error[E0277]: the trait bound `ARef: From<&CurrentTask>` is not satisfied --> rust/doctests_kernel_generated.rs:6884:22 | 6884 | creator: current!().into(), | ^^^^^^^^^^ ---- required by a bound introduced by this call | | | the trait `From<&CurrentTask>` is not implemented for `ARef`, which is required by `&CurrentTask: Into<_>` | this tail expression is of type `&CurrentTask` | = help: the trait `From<&Task>` is implemented for `ARef` = help: for that trait implementation, expected `Task`, found `CurrentTask` = note: required for `&CurrentTask` to implement `Into>` error: aborting due to 1 previous error Best regards, Andreas Hindborg