Re: [PATCH v11 0/8] Rust support for mm_struct, vm_area_struct, and mmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/16/24 12:04 PM, Andreas Hindborg wrote:
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
Ah, thanks. Looks like a documentation test that needs to be adjusted.

Alice




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux