Skip to content

DefId(...) does not have a "params_in_repr" #128327

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Naserume opened this issue Jul 29, 2024 · 1 comment · Fixed by #131150
Closed

DefId(...) does not have a "params_in_repr" #128327

Naserume opened this issue Jul 29, 2024 · 1 comment · Fixed by #131150
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Naserume
Copy link

Similar Issue #108160. ICEs in nightly-2024-07-11 0c81f94 and so on.

Code

use std::ops::Deref;

struct Apple((Apple, <&'static [f64] as Deref>::Target(Banana ? Citron)));

fn main(){}

Meta

rustc --version --verbose:

rustc 1.82.0-nightly (fbccf5053 2024-07-27)
binary: rustc
commit-hash: fbccf50533b1f287edccb1fc0dd847cd78a1a27e
commit-date: 2024-07-27
host: x86_64-apple-darwin
release: 1.82.0-nightly
LLVM version: 18.1.7

Error output

error: invalid `?` in type
 --> ./03C27.rs:3:63
  |
3 | struct Apple((Apple, <&'static [f64] as Deref>::Target(Banana ? Citron)));
  |                                                               ^ `?` is only allowed on expressions, not types
  |
help: if you meant to express that the type might not contain a value, use the `Option` wrapper type
  |
3 | struct Apple((Apple, <&'static [f64] as Deref>::Target(Option<Banana > Citron)));
  |                                                        +++++++       ~

error: expected one of `)` or `,`, found `Citron`
 --> ./03C27.rs:3:65
  |
3 | struct Apple((Apple, <&'static [f64] as Deref>::Target(Banana ? Citron)));
  |                                                                -^^^^^^ expected one of `)` or `,`
  |                                                                |
  |                                                                help: missing `,`

error[E0412]: cannot find type `Citron` in this scope
 --> ./03C27.rs:3:65
  |
3 | struct Apple((Apple, <&'static [f64] as Deref>::Target(Banana ? Citron)));
  |                                                                 ^^^^^^ not found in this scope

error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
 --> ./03C27.rs:3:49
  |
3 | struct Apple((Apple, <&'static [f64] as Deref>::Target(Banana ? Citron)));
  |                                                 ^^^^^^^^^^^^^^^^^^^^^^^ only `Fn` traits may use parentheses
  |
help: use angle brackets instead
  |
3 | struct Apple((Apple, <&'static [f64] as Deref>::Target<Banana ? Citron>));
  |                                                       ~               ~

Backtrace

thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs:217:1:
DefId(2:3552 ~ core[7337]::ops::deref::Deref::Target) does not have a "params_in_repr"
stack backtrace:
   0:        0x107e02373 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h1a1159e0bb131db7
   1:        0x107e4e44b - core::fmt::write::hfa1d67efcf062ea3
   2:        0x107df7cbe - std::io::Write::write_fmt::h3c9394657de9d459
   3:        0x107e04cca - std::panicking::default_hook::{{closure}}::hd9fe5cb6111df159
   4:        0x107e0497a - std::panicking::default_hook::h5b5bd9f74fba2f71
   5:        0x1112215cc - std[4bfb9a18ded71a06]::panicking::update_hook::<alloc[1dd1c94deff693f]::boxed::Box<rustc_driver_impl[563a5c8fc496fc05]::install_ice_hook::{closure#0}>>::{closure#0}
   6:        0x107e05ab9 - std::panicking::rust_panic_with_hook::hd84c7c4b9139908c
   7:        0x107e052f5 - std::panicking::begin_panic_handler::{{closure}}::he2d0d53faee85ca0
   8:        0x107e02849 - std::sys::backtrace::__rust_end_short_backtrace::hb493827135471425
   9:        0x107e04f0c - _rust_begin_unwind
  10:        0x107e6949a - core::panicking::panic_fmt::h3d52278a6f5cc25d
  11:        0x111d67e88 - rustc_metadata[82c39ad374aa2626]::rmeta::decoder::cstore_impl::provide_extern::params_in_repr::{closure#2}
  12:        0x111d67c29 - rustc_metadata[82c39ad374aa2626]::rmeta::decoder::cstore_impl::provide_extern::params_in_repr
  13:        0x1128a1536 - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::params_in_repr::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 8usize]>>
  14:        0x112678adf - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::DefIdCache<rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  15:        0x1128b6969 - rustc_query_impl[9ad7899b1686080d]::query_impl::params_in_repr::get_query_non_incr::__rust_end_short_backtrace
  16:        0x111f1979f - rustc_middle[e9af03082ecb3485]::query::plumbing::query_get_at::<rustc_query_system[d8fb519f29fd1bee]::query::caches::DefIdCache<rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 8usize]>>>
  17:        0x111f07422 - rustc_middle[e9af03082ecb3485]::values::find_item_ty_spans
  18:        0x111f074a5 - rustc_middle[e9af03082ecb3485]::values::find_item_ty_spans
  19:        0x111f055db - rustc_middle[e9af03082ecb3485]::values::recursive_type_error
  20:        0x111f05105 - <rustc_middle[e9af03082ecb3485]::ty::adt::Representability as rustc_query_system[d8fb519f29fd1bee]::values::Value<rustc_middle[e9af03082ecb3485]::ty::context::TyCtxt>>::from_cycle_error
  21:        0x112845c39 - <rustc_query_impl[9ad7899b1686080d]::query_impl::representability::dynamic_query::{closure#3} as core[7337c6746b2dc2b4]::ops::function::FnOnce<(rustc_middle[e9af03082ecb3485]::ty::context::TyCtxt, &rustc_query_system[d8fb519f29fd1bee]::query::plumbing::CycleError, rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed)>>::call_once
  22:        0x115ea98c5 - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::mk_cycle::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::DefIdCache<rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt>
  23:        0x115ea78ab - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::cycle_error::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::DefIdCache<rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt>
  24:        0x11271fd66 - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_span[5a29b2bebce1e1fa]::def_id::LocalDefId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  25:        0x1128b5ee0 - rustc_query_impl[9ad7899b1686080d]::query_impl::representability::get_query_non_incr::__rust_end_short_backtrace
  26:        0x1130baa4b - rustc_middle[e9af03082ecb3485]::query::plumbing::query_get_at::<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_span[5a29b2bebce1e1fa]::def_id::LocalDefId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>>
  27:        0x113131328 - rustc_ty_utils[d90f2a9f2f58eb71]::representability::representability_adt_ty
  28:        0x1128a586c - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::representability_adt_ty::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>
  29:        0x1126d2e53 - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::DefaultCache<rustc_middle[e9af03082ecb3485]::ty::Ty, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  30:        0x1128b6403 - rustc_query_impl[9ad7899b1686080d]::query_impl::representability_adt_ty::get_query_non_incr::__rust_end_short_backtrace
  31:        0x113131253 - rustc_ty_utils[d90f2a9f2f58eb71]::representability::representability_ty
  32:        0x11313112a - rustc_ty_utils[d90f2a9f2f58eb71]::representability::representability_ty
  33:        0x1128a2c4c - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::representability::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>
  34:        0x11271fc6f - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_span[5a29b2bebce1e1fa]::def_id::LocalDefId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  35:        0x1128b5ee0 - rustc_query_impl[9ad7899b1686080d]::query_impl::representability::get_query_non_incr::__rust_end_short_backtrace
  36:        0x1130baa4b - rustc_middle[e9af03082ecb3485]::query::plumbing::query_get_at::<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_span[5a29b2bebce1e1fa]::def_id::LocalDefId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>>
  37:        0x113130f41 - rustc_ty_utils[d90f2a9f2f58eb71]::representability::representability
  38:        0x1128a2c4c - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::representability::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>
  39:        0x11271fc6f - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_span[5a29b2bebce1e1fa]::def_id::LocalDefId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  40:        0x1128b5ee0 - rustc_query_impl[9ad7899b1686080d]::query_impl::representability::get_query_non_incr::__rust_end_short_backtrace
  41:        0x1115786e6 - rustc_hir_analysis[b58127314b372e6e]::check::wfcheck::check_type_defn
  42:        0x11156ee07 - rustc_hir_analysis[b58127314b372e6e]::check::wfcheck::check_well_formed
  43:        0x1128a2d0c - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>
  44:        0x112716c6f - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_hir[3c99a6c306bb37d3]::hir_id::OwnerId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  45:        0x1128ee510 - rustc_query_impl[9ad7899b1686080d]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
  46:        0x111459d32 - rustc_middle[e9af03082ecb3485]::query::plumbing::query_ensure_error_guaranteed::<rustc_query_system[d8fb519f29fd1bee]::query::caches::VecCache<rustc_hir[3c99a6c306bb37d3]::hir_id::OwnerId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, ()>
  47:        0x11157f771 - rustc_hir_analysis[b58127314b372e6e]::check::wfcheck::check_mod_type_wf
  48:        0x1128a2cdc - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>
  49:        0x1126c9fe9 - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::DefaultCache<rustc_span[5a29b2bebce1e1fa]::def_id::LocalModDefId, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  50:        0x1128cab20 - rustc_query_impl[9ad7899b1686080d]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
  51:        0x11160a56c - rustc_hir_analysis[b58127314b372e6e]::check_crate
  52:        0x111b3ecb7 - rustc_interface[33c7848e7de359ea]::passes::run_required_analyses
  53:        0x111b41153 - rustc_interface[33c7848e7de359ea]::passes::analysis
  54:        0x1128a73ac - rustc_query_impl[9ad7899b1686080d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9ad7899b1686080d]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>
  55:        0x112683dce - rustc_query_system[d8fb519f29fd1bee]::query::plumbing::try_execute_query::<rustc_query_impl[9ad7899b1686080d]::DynamicConfig<rustc_query_system[d8fb519f29fd1bee]::query::caches::SingleCache<rustc_middle[e9af03082ecb3485]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[9ad7899b1686080d]::plumbing::QueryCtxt, false>
  56:        0x1128b1907 - rustc_query_impl[9ad7899b1686080d]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  57:        0x1111c28b7 - <rustc_interface[33c7848e7de359ea]::queries::QueryResult<&rustc_middle[e9af03082ecb3485]::ty::context::GlobalCtxt>>::enter::<core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>, rustc_driver_impl[563a5c8fc496fc05]::run_compiler::{closure#0}::{closure#1}::{closure#5}>
  58:        0x11121fe7b - rustc_interface[33c7848e7de359ea]::interface::run_compiler::<core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>, rustc_driver_impl[563a5c8fc496fc05]::run_compiler::{closure#0}>::{closure#1}
  59:        0x11120b391 - std[4bfb9a18ded71a06]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[33c7848e7de359ea]::util::run_in_thread_with_globals<rustc_interface[33c7848e7de359ea]::util::run_in_thread_pool_with_globals<rustc_interface[33c7848e7de359ea]::interface::run_compiler<core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>, rustc_driver_impl[563a5c8fc496fc05]::run_compiler::{closure#0}>::{closure#1}, core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>>::{closure#0}, core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>>
  60:        0x11122a606 - <<std[4bfb9a18ded71a06]::thread::Builder>::spawn_unchecked_<rustc_interface[33c7848e7de359ea]::util::run_in_thread_with_globals<rustc_interface[33c7848e7de359ea]::util::run_in_thread_pool_with_globals<rustc_interface[33c7848e7de359ea]::interface::run_compiler<core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>, rustc_driver_impl[563a5c8fc496fc05]::run_compiler::{closure#0}>::{closure#1}, core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>>::{closure#0}, core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7337c6746b2dc2b4]::result::Result<(), rustc_span[5a29b2bebce1e1fa]::ErrorGuaranteed>>::{closure#1} as core[7337c6746b2dc2b4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  61:        0x107e0eacb - std::sys::pal::unix::thread::Thread::new::thread_start::hc7a03ce7c26595a5
  62:     0x7ff801f5318b - __pthread_start

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

note: please attach the file at `/Users/Documents/rustc-ice-2024-07-29T01_35_09-6352.txt` to your bug report

query stack during panic:
#0 [params_in_repr] finding type parameters in the representation
#1 [representability_adt_ty] checking if `Apple` is representable
end of query stack
error: aborting due to 4 previous errors

Some errors have detailed explanations: E0214, E0412.
For more information about an error, try `rustc --explain E0214`.

@Naserume Naserume added C-bug Category: This is a bug. 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. labels Jul 29, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 29, 2024
@theemathas
Copy link
Contributor

Here's a reproduction that doesn't use Deref

src/lib.rs:

use second::SomeTrait;

struct Foo;
struct Bar;

impl SomeTrait for Foo {
    type Associated = Bar;
}

struct Apple((Apple, <Foo as SomeTrait>::Associated<Banana?>));

second/src/lib.rs:

pub trait SomeTrait {
    type Associated;
}
Cargo.toml Boilerplate

Cargo.toml:

[workspace]
members = ["second"]

[package]
name = "first"
version = "0.1.0"
edition = "2021"

[dependencies]
second = { path = "second" }

second/Cargo.toml:

[package]
name = "second"
version = "0.1.0"
edition = "2021"

[dependencies]
rustc-ice-2024-07-29T02_57_15-8524.txt
thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs:217:1:
DefId(20:4 ~ second[b3e0]::SomeTrait::Associated) does not have a "params_in_repr"
stack backtrace:
   0:        0x103935680 - std::backtrace::Backtrace::create::hae4cc24391157d05
   1:        0x10d89f690 - <alloc[a71f2bdf19fad451]::boxed::Box<rustc_driver_impl[4bac58de035c3bd8]::install_ice_hook::{closure#0}> as core[d4a6e92ff1ac8c24]::ops::function::Fn<(&dyn for<'a, 'b> core[d4a6e92ff1ac8c24]::ops::function::Fn<(&'a std[7a0719228054052a]::panic::PanicHookInfo<'b>,), Output = ()> + core[d4a6e92ff1ac8c24]::marker::Send + core[d4a6e92ff1ac8c24]::marker::Sync, &std[7a0719228054052a]::panic::PanicHookInfo)>>::call
   2:        0x10394e83c - std::panicking::rust_panic_with_hook::h1d87874b94b8a178
   3:        0x10394e14c - std::panicking::begin_panic_handler::{{closure}}::hcaa207ee4a92d54b
   4:        0x10394bb9c - std::sys::backtrace::__rust_end_short_backtrace::h07884ebaad5621e2
   5:        0x10394de14 - _rust_begin_unwind
   6:        0x1039a8958 - core::panicking::panic_fmt::h40c53935d133e936
   7:        0x10e37521c - rustc_metadata[661372dd6f43e03b]::rmeta::decoder::cstore_impl::provide_extern::params_in_repr::{closure#2}
   8:        0x10e37500c - rustc_metadata[661372dd6f43e03b]::rmeta::decoder::cstore_impl::provide_extern::params_in_repr
   9:        0x10ed8cbc0 - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::params_in_repr::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 8usize]>>
  10:        0x10eecd670 - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::params_in_repr::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_span[d9b50236a4224dd8]::def_id::DefId)>>::call_once
  11:        0x10eca63d8 - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefIdCache<rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  12:        0x10eed893c - rustc_query_impl[88a2a0151ce45b5f]::query_impl::params_in_repr::get_query_incr::__rust_end_short_backtrace
  13:        0x10e4b5c00 - rustc_middle[a37891ff350d2756]::query::plumbing::query_get_at::<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefIdCache<rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 8usize]>>>
  14:        0x10e4b4e08 - rustc_middle[a37891ff350d2756]::values::find_item_ty_spans
  15:        0x10e4b4e58 - rustc_middle[a37891ff350d2756]::values::find_item_ty_spans
  16:        0x10e4b3d68 - rustc_middle[a37891ff350d2756]::values::recursive_type_error
  17:        0x10e52bd90 - <rustc_middle[a37891ff350d2756]::ty::adt::Representability as rustc_query_system[c06a29aa1aa29d73]::values::Value<rustc_middle[a37891ff350d2756]::ty::context::TyCtxt>>::from_cycle_error
  18:        0x10ef708b4 - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability_adt_ty::dynamic_query::{closure#3} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, &rustc_query_system[c06a29aa1aa29d73]::query::plumbing::CycleError, rustc_span[d9b50236a4224dd8]::ErrorGuaranteed)>>::call_once
  19:        0x111e68f54 - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::mk_cycle::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefIdCache<rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt>
  20:        0x111e67230 - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::cycle_error::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefIdCache<rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt>
  21:        0x10ed32e1c - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  22:        0x10eed846c - rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::get_query_incr::__rust_end_short_backtrace
  23:        0x10f6ab518 - rustc_middle[a37891ff350d2756]::query::plumbing::query_get_at::<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>>
  24:        0x10f6bed78 - rustc_ty_utils[5e8d301e418adb13]::representability::representability_adt_ty
  25:        0x10ed9184c - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability_adt_ty::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  26:        0x10ef717a8 - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability_adt_ty::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_middle[a37891ff350d2756]::ty::Ty)>>::call_once
  27:        0x10ef5ae4c - <rustc_query_system[c06a29aa1aa29d73]::dep_graph::graph::DepGraphData<rustc_middle[a37891ff350d2756]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_query_system[c06a29aa1aa29d73]::query::plumbing::execute_job_incr<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefaultCache<rustc_middle[a37891ff350d2756]::ty::Ty, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt>::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  28:        0x10ecec73c - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefaultCache<rustc_middle[a37891ff350d2756]::ty::Ty, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  29:        0x10eed86d0 - rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability_adt_ty::get_query_incr::__rust_end_short_backtrace
  30:        0x10f6beca0 - rustc_ty_utils[5e8d301e418adb13]::representability::representability_ty
  31:        0x10f6beb7c - rustc_ty_utils[5e8d301e418adb13]::representability::representability_ty
  32:        0x10ed8e4dc - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  33:        0x10ef7089c - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_span[d9b50236a4224dd8]::def_id::LocalDefId)>>::call_once
  34:        0x10ef5bb78 - <rustc_query_system[c06a29aa1aa29d73]::dep_graph::graph::DepGraphData<rustc_middle[a37891ff350d2756]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_query_system[c06a29aa1aa29d73]::query::plumbing::execute_job_incr<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt>::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  35:        0x10ed32d78 - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  36:        0x10eed846c - rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::get_query_incr::__rust_end_short_backtrace
  37:        0x10f6ab518 - rustc_middle[a37891ff350d2756]::query::plumbing::query_get_at::<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>>
  38:        0x10f6be990 - rustc_ty_utils[5e8d301e418adb13]::representability::representability
  39:        0x10ed8e4dc - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  40:        0x10ef7089c - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_span[d9b50236a4224dd8]::def_id::LocalDefId)>>::call_once
  41:        0x10ef5bb78 - <rustc_query_system[c06a29aa1aa29d73]::dep_graph::graph::DepGraphData<rustc_middle[a37891ff350d2756]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_query_system[c06a29aa1aa29d73]::query::plumbing::execute_job_incr<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt>::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  42:        0x10ed32d78 - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_span[d9b50236a4224dd8]::def_id::LocalDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, true, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  43:        0x10eed846c - rustc_query_impl[88a2a0151ce45b5f]::query_impl::representability::get_query_incr::__rust_end_short_backtrace
  44:        0x10dc68048 - rustc_hir_analysis[e3a4ae41744041df]::check::wfcheck::check_type_defn
  45:        0x10dc66094 - rustc_hir_analysis[e3a4ae41744041df]::check::wfcheck::check_well_formed
  46:        0x10ed8e600 - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  47:        0x10eece9c0 - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_hir[7cdae7b4d393ecb6]::hir_id::OwnerId)>>::call_once
  48:        0x10ed2a47c - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_hir[7cdae7b4d393ecb6]::hir_id::OwnerId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  49:        0x10eef396c - rustc_query_impl[88a2a0151ce45b5f]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace
  50:        0x10db18810 - rustc_middle[a37891ff350d2756]::query::plumbing::query_ensure_error_guaranteed::<rustc_query_system[c06a29aa1aa29d73]::query::caches::VecCache<rustc_hir[7cdae7b4d393ecb6]::hir_id::OwnerId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, ()>
  51:        0x10db06ca8 - <rustc_data_structures[5a892ce82cae001a]::sync::parallel::ParallelGuard>::run::<core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>, rustc_data_structures[5a892ce82cae001a]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[7cdae7b4d393ecb6]::hir::ImplItemId], rustc_span[d9b50236a4224dd8]::ErrorGuaranteed, <rustc_middle[a37891ff350d2756]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[e3a4ae41744041df]::check::wfcheck::check_mod_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
  52:        0x10db5c430 - <rustc_middle[a37891ff350d2756]::hir::ModuleItems>::par_items::<rustc_hir_analysis[e3a4ae41744041df]::check::wfcheck::check_mod_type_wf::{closure#0}>
  53:        0x10dc6c814 - rustc_hir_analysis[e3a4ae41744041df]::check::wfcheck::check_mod_type_wf
  54:        0x10ed8e5b4 - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  55:        0x10eece744 - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::check_mod_type_wf::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, rustc_span[d9b50236a4224dd8]::def_id::LocalModDefId)>>::call_once
  56:        0x10ecf29e8 - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::DefaultCache<rustc_span[d9b50236a4224dd8]::def_id::LocalModDefId, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  57:        0x10eee46a8 - rustc_query_impl[88a2a0151ce45b5f]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
  58:        0x10db06e84 - <rustc_data_structures[5a892ce82cae001a]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[5a892ce82cae001a]::sync::parallel::enabled::par_for_each_in<&rustc_hir[7cdae7b4d393ecb6]::hir_id::OwnerId, &[rustc_hir[7cdae7b4d393ecb6]::hir_id::OwnerId], <rustc_middle[a37891ff350d2756]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[e3a4ae41744041df]::check_crate::{closure#0}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
  59:        0x10db4972c - rustc_hir_analysis[e3a4ae41744041df]::check_crate
  60:        0x10e1a39dc - rustc_interface[daa88bac46d20e4c]::passes::analysis
  61:        0x10ed9387c - rustc_query_impl[88a2a0151ce45b5f]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[88a2a0151ce45b5f]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>
  62:        0x10eeb5fbc - <rustc_query_impl[88a2a0151ce45b5f]::query_impl::analysis::dynamic_query::{closure#2} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<(rustc_middle[a37891ff350d2756]::ty::context::TyCtxt, ())>>::call_once
  63:        0x10ecaf3fc - rustc_query_system[c06a29aa1aa29d73]::query::plumbing::try_execute_query::<rustc_query_impl[88a2a0151ce45b5f]::DynamicConfig<rustc_query_system[c06a29aa1aa29d73]::query::caches::SingleCache<rustc_middle[a37891ff350d2756]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[88a2a0151ce45b5f]::plumbing::QueryCtxt, true>
  64:        0x10eed5a94 - rustc_query_impl[88a2a0151ce45b5f]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  65:        0x10d879bd8 - <rustc_middle[a37891ff350d2756]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[4bac58de035c3bd8]::run_compiler::{closure#0}::{closure#1}::{closure#5}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>
  66:        0x10d8e31f4 - <rustc_interface[daa88bac46d20e4c]::interface::Compiler>::enter::<rustc_driver_impl[4bac58de035c3bd8]::run_compiler::{closure#0}::{closure#1}, core[d4a6e92ff1ac8c24]::result::Result<core[d4a6e92ff1ac8c24]::option::Option<rustc_interface[daa88bac46d20e4c]::queries::Linker>, rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>
  67:        0x10d8b2750 - <scoped_tls[37a109fbdefbbd0b]::ScopedKey<rustc_span[d9b50236a4224dd8]::SessionGlobals>>::set::<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_with_globals<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_pool_with_globals<rustc_interface[daa88bac46d20e4c]::interface::run_compiler<core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>, rustc_driver_impl[4bac58de035c3bd8]::run_compiler::{closure#0}>::{closure#1}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>
  68:        0x10d890034 - rustc_span[d9b50236a4224dd8]::create_session_globals_then::<core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>, rustc_interface[daa88bac46d20e4c]::util::run_in_thread_with_globals<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_pool_with_globals<rustc_interface[daa88bac46d20e4c]::interface::run_compiler<core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>, rustc_driver_impl[4bac58de035c3bd8]::run_compiler::{closure#0}>::{closure#1}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
  69:        0x10d8a5cf0 - std[7a0719228054052a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_with_globals<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_pool_with_globals<rustc_interface[daa88bac46d20e4c]::interface::run_compiler<core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>, rustc_driver_impl[4bac58de035c3bd8]::run_compiler::{closure#0}>::{closure#1}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>
  70:        0x10d8bbe30 - <<std[7a0719228054052a]::thread::Builder>::spawn_unchecked_<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_with_globals<rustc_interface[daa88bac46d20e4c]::util::run_in_thread_pool_with_globals<rustc_interface[daa88bac46d20e4c]::interface::run_compiler<core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>, rustc_driver_impl[4bac58de035c3bd8]::run_compiler::{closure#0}>::{closure#1}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[d4a6e92ff1ac8c24]::result::Result<(), rustc_span[d9b50236a4224dd8]::ErrorGuaranteed>>::{closure#1} as core[d4a6e92ff1ac8c24]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  71:        0x103956de4 - std::sys::pal::unix::thread::Thread::new::thread_start::h83845b13417e2e4f
  72:        0x18ec5ef94 - __pthread_joiner_wake


rustc version: 1.82.0-nightly (7120fdac7 2024-07-25)
platform: aarch64-apple-darwin

query stack during panic:
#0 [params_in_repr] finding type parameters in the representation
#1 [representability_adt_ty] checking if `Apple` is representable
#2 [representability] checking if `Apple::0` is representable
#3 [representability] checking if `Apple` is representable
#4 [check_well_formed] checking that `Apple` is well-formed
#5 [check_mod_type_wf] checking that types are well-formed in top-level module
#6 [analysis] running analysis passes on this crate
end of query stack

@jieyouxu jieyouxu added the S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue label Aug 5, 2024
@matthiaskrgr matthiaskrgr added the S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. label Aug 5, 2024
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 19, 2024
@bors bors closed this as completed in 2e0db79 Oct 2, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Oct 2, 2024
Rollup merge of rust-lang#131150 - bvanjoi:issue-128327, r=chenyukang

only query `params_in_repr` if def kind is adt

Fixes rust-lang#128327

`params_in_repr` was only stored in `encode_info_for_adt`, so we only query it when the def kind belongs to them.

https://github.com/rust-lang/rust/blob/9e3e5174462afaf6c3b9db9b35c6d1934521848a/compiler/rustc_metadata/src/rmeta/encoder.rs#L1566-L1567
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants