Skip to content

regression: ICE adjusting Expr can't compose Pointer(Unsize) #94511

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

Crater picked up this issue:

stack backtrace:
[INFO] [stdout] error: internal compiler error: compiler/rustc_typeck/src/check/fn_ctxt/_impl.rs:318:26: while adjusting Expr { hir_id: HirId { owner: DefId(0:181 ~ conspect[9ddb]::manager::{impl#0}::match_ns), local_id: 68 }, kind: Box(Expr { hir_id: HirId { owner: DefId(0:181 ~ conspect[9ddb]::manager::{impl#0}::match_ns), local_id: 67 }, kind: Array([Expr { hir_id: HirId { owner: DefId(0:181 ~ conspect[9ddb]::manager::{impl#0}::match_ns), local_id: 66 }, kind: Path(Resolved(None, Path { span: src/manager/mod.rs:40:41: 40:48 (#0), res: Local(HirId { owner: DefId(0:181 ~ conspect[9ddb]::manager::{impl#0}::match_ns), local_id: 4 }), segments: [PathSegment { ident: process#0, hir_id: Some(HirId { owner: DefId(0:181 ~ conspect[9ddb]::manager::{impl#0}::match_ns), local_id: 65 }), res: Some(Local(HirId { owner: DefId(0:181 ~ conspect[9ddb]::manager::{impl#0}::match_ns), local_id: 4 })), args: None, infer_args: true }] })), span: src/manager/mod.rs:40:41: 40:48 (#0) }]), span: /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/macros.rs:50:56: 50:65 (#32) }), span: /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/macros.rs:50:52: 50:65 (#32) }, can't compose [Pointer(Unsize) -> _] and [Pointer(Unsize) -> _]

Metadata

Metadata

Labels

E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions