Skip to content

ICE: DefId::expect_local: DefId(20:3827 ~ picoserve[6f4f]::extract::FromRequest::from_request::{opaque#0}::'r) isn't local #120638

Closed
@Ddystopia

Description

@Ddystopia

While I was trying to add lifetimes for picoserve's FromRequest I got into ICE

  1. https://github.com/Ddystopia/picoserve_example_ice
  2. https://github.com/Ddystopia/picoserve/tree/ice

(1.) had a dep of picoserve as 2.

That code isn't finished and should not compile yet

Meta

rustc --version --verbose:

rustc 1.77.0-nightly (635124704 2024-01-27)
binary: rustc
commit-hash: 635124704849eeead4e3a7bb6e663c5351571d93
commit-date: 2024-01-27
host: x86_64-unknown-linux-gnu
release: 1.77.0-nightly
LLVM version: 17.0.6

Error output

2.https://github.com/Ddystopia/picoserve/tree/ice has ice files

Metadata

Metadata

Labels

A-lifetimesArea: Lifetimes / regionsC-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions