[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87cyhrdh2w.fsf@kernel.org>
Date: Mon, 16 Dec 2024 12:04:39 +0100
From: Andreas Hindborg <a.hindborg@...nel.org>
To: "Alice Ryhl" <aliceryhl@...gle.com>
Cc: "Miguel Ojeda" <ojeda@...nel.org>, "Matthew Wilcox"
<willy@...radead.org>, "Lorenzo Stoakes" <lorenzo.stoakes@...cle.com>,
"Vlastimil Babka" <vbabka@...e.cz>, "John Hubbard"
<jhubbard@...dia.com>, "Liam R. Howlett" <Liam.Howlett@...cle.com>,
"Andrew Morton" <akpm@...ux-foundation.org>, "Greg Kroah-Hartman"
<gregkh@...uxfoundation.org>, "Arnd Bergmann" <arnd@...db.de>,
"Christian Brauner" <brauner@...nel.org>, "Jann Horn"
<jannh@...gle.com>, "Suren Baghdasaryan" <surenb@...gle.com>, "Alex
Gaynor" <alex.gaynor@...il.com>, "Boqun Feng" <boqun.feng@...il.com>,
"Gary Guo" <gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, "Benno Lossin" <benno.lossin@...ton.me>,
"Trevor Gross" <tmgross@...ch.edu>, <linux-kernel@...r.kernel.org>,
<linux-mm@...ck.org>, <rust-for-linux@...r.kernel.org>
Subject: Re: [PATCH v11 0/8] Rust support for mm_struct, vm_area_struct, and
mmap
Hi Alice,
Applied on top of v6.13-rc2 and tried to build:
error[E0277]: the trait bound `ARef<Task>: 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<Task>`, which is required by `&CurrentTask: Into<_>`
| this tail expression is of type `&CurrentTask`
|
= help: the trait `From<&Task>` is implemented for `ARef<Task>`
= help: for that trait implementation, expected `Task`, found `CurrentTask`
= note: required for `&CurrentTask` to implement `Into<ARef<Task>>`
error: aborting due to 1 previous error
Best regards,
Andreas Hindborg
Powered by blists - more mailing lists