Closed
Description
Compile with latest Nightly got ICE like below:
thread 'rustc' panicked at /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_type_ir/src/search_graph/global_cache.rs:62:13:
assertion failed: prev.is_none()
query stack during panic:
#0 [check_well_formed] checking that `pat_arg::Arg` is well-formed
#1 [check_mod_type_wf] checking that types are well-formed in module `pat_arg`
end of query stack
when compiling in #[test]
code
thread 'rustc' panicked at /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_codegen_ssa/src/back/write.rs:2055:17:
/rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_codegen_ssa/src/back/write.rs:2055:17: panic during codegen/LLVM phase
thread 'coordinator' panicked at /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_codegen_ssa/src/back/write.rs:1643:37:
assertion failed: needs_link.is_empty()
OS: x86_64-apple-darwin