ICE with trait_alias in Nightly: unwrap None in assemble_extension_candidates_for_trait #57676
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is the stacktrace I get:
I can only repro this when using an external crate. The condition seems to be that you have to
FnCtxt::suggest_ref_or_into
, combined withI'm attaching a small cargo project which reproduces the problem.
The structure is really simple, these are the main files:
src/main.rs:
src/lib.rs:
To repro, unzip the cargo project and run
RUST_BACKTRACE=1 cargo build
.Thank you.
repro.zip
The text was updated successfully, but these errors were encountered: