[ICE]: 执行操作时出错: fully_perform: 由一个已封闭的超特性 + 关联类型绑定的子特性触发
作者: martinjrobins创建于 2026年9月5日更新于 2026年9月17日
标签I-ICEP-mediumregression-from-stable-to-nightlyA-associated-itemsT-compilerA-inferenceA-impl-traitC-bug
rustc +nightly --version --verbose:
rustc 1.100.0-nightly (0ed41eb41 2026-09-04)
binary: rustc
commit-hash: 0ed41eb4142dda2df61eb1145a312c1a9d62eb56
commit-date: 2026-09-04
host: x86_64-unknown-linux-gnu
release: 1.100.0-nightly
LLVM version: 23.1.1
Error output
❯ RUST_BACKTRACE=1 cargo +nightly build
Compiling ice-mre v0.0.0 (/home/mrobins/git/tmp/ice-mre)
warning: field `0` is never read
--> src/lib.rs:28:18
|
28 | struct MyRhs<'a>(&'a MyEqns);
| ----- ^^^^^^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
note: no errors encountered even though delayed bugs were created
note: those delayed bugs will now be shown as internal compiler errors
error: internal compiler error: error performing operation: fully_perform
--> src/lib.rs:53:5
|
53 | inner().rhs().jacobian(&0.0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: delayed at /rustc-dev/0ed41eb4142dda2df61eb1145a312c1a9d62eb56/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs:126:26
0: <rustc_errors::DiagCtxtInner>::emit_diagnostic
1: <rustc_errors::DiagCtxtHandle>::emit_diagnostic
2: <rustc_span::ErrorGuaranteed as rustc_errors::diagnostic::EmissionGuarantee>::emit_producing_guarantee
3: <rustc_errors::DiagCtxtHandle>::span_delayed_bug::<rustc_span::span_encoding::Span, alloc::string::String>
4: <rustc_borrowck::type_check::TypeChecker as rustc_middle::mir::visit::Visitor>::visit_body
5:
…
内容来源: rust-lang/rust