Closed as not planned
Description
Trying to compile winrt with latest nightly msvc got a internal compiler error.
error: internal compiler error: src\librustc_traits\normalize_erasing_regions.rs:42: could not fully
normalize `unsafe extern "system" fn(*mut rt::gen::windows::foundation::AsyncActionProgressHandler<TProgress>, *mut
rt::gen::windows::foundation::IAsyncActionWithProgress<TProgress>, <TProgress as
rt::RtType>::Abi) -> i32`
note: rustc 1.41.0-nightly (ded5ee001 2019-11-13) running on x86_64-pc-windows-msvc
note: compiler flags: -C debuginfo=2 --crate-type lib
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [normalize_ty_after_erasing_regions] normalizing `ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: All, def_id: None }, value: unsafe extern "system" fn(*mut rt::gen::windows::foundation::AsyncActionProgressHandler<TProgress>, *mut rt::gen::windows::foundation::IAsyncActionWithProgress<TProgress>, <TProgress as rt::RtType>::Abi) -> i32 }`
#1 [lint_mod] linting module `rt::gen::windows::foundation`
#2 [analysis] running analysis passes on this crate
end of query stack
Saw similar error over with this one: #64908 so figured I would report here and not in the winrt github. Project compiles fine with latest stable on x86-64-pc-windows-msvc
.
Metadata
Metadata
Assignees
Labels
Category: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Operating system: WindowsToolchain: MSVC, Operating system: WindowsTarget: x86-64 processors (like x86_64-*) (also known as amd64 and x64)Medium priorityRelevant to the compiler team, which will review and decide on the PR/issue.