Open
Description
I believe this caused a regression on nightly. See https://github.com/aya-rs/aya/actions/runs/15223453504/job/42822502727.
Documenting aya-log-ebpf v0.1.1 (/home/runner/work/aya/aya/ebpf/aya-log-ebpf)
error[E0391]: cycle detected when computing revealed normalized predicates of `aya_ebpf::EbpfContext::command::{constant#0}`
--> /home/runner/work/aya/aya/ebpf/aya-ebpf/src/lib.rs:42:38
|
42 | fn command(&self) -> Result<[u8; TASK_COMM_LEN], c_long> {
| ^^^^^^^^^^^^^
|
note: ...which requires computing normalized predicates of `aya_ebpf::EbpfContext::command::{constant#0}`...
--> /home/runner/work/aya/aya/ebpf/aya-ebpf/src/lib.rs:42:38
|
42 | fn command(&self) -> Result<[u8; TASK_COMM_LEN], c_long> {
| ^^^^^^^^^^^^^
= note: ...which again requires computing revealed normalized predicates of `aya_ebpf::EbpfContext::command::{constant#0}`, completing the cycle
= note: cycle used when normalizing `aya_ebpf::::EbpfContext::command::{constant#0}`
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
For more information about this error, try `rustc --explain E0391`.
error: could not document `aya-log-ebpf`
Oddly, this seems specific to rustdoc.
Originally posted by @tamird in #139635 (comment)
Metadata
Metadata
Assignees
Labels
Area: const generics (parameters and arguments)Category: This is a bug.`#![feature(generic_const_exprs)]`Issue: A query cycle occurred while none was expectedRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.