-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
I'm getting a panic
thread 'rustc' panicked at compiler/rustc_ty_utils/src/abi.rs:360:21:
`PassMode::Direct` for aggregates only allowed on wasm and `extern "ptx-kernel"` fns
Problematic type: TyAndLayout {
ty: ReprC1<*const i32>,
...
(that's expected, I'm working on that part of the compiler)
and after that I am getting a second error
error: internal compiler error: no warnings or errors encountered even though `delayed_good_path_bugs` issued
error: internal compiler error: trimmed_def_paths constructed but no error emitted; use `DelayDm` for lints or `with_no_trimmed_paths` for debugging
That's bad, it makes the panic message harder to find. It's also wrong, there was an error encountered, a panic even!
Cc @compiler-errors -- that's one of the trimmed-path issues I encountered recently (but might be unrelated to #117373)
compiler-errors
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.