rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.23k stars 12.71k forks source link

stack overflow when instantiating infinite type #113197

Closed lukas-code closed 10 months ago

lukas-code commented 1 year ago

Code

playground

trait A { type Assoc; }

impl A for () {
    type Assoc = Foo<()>;
}

struct Foo<T: A>(T::Assoc);

fn main() {
    Foo::<()>(todo!());
}

Meta

rustc --version --verbose:

rustc 1.72.0-nightly (330727467 2023-06-29)
binary: rustc
commit-hash: 330727467b8fdf2c43b95095a0efae7012c4f83b
commit-date: 2023-06-29
host: x86_64-unknown-linux-gnu
release: 1.72.0-nightly
LLVM version: 16.0.5

Error output

   Compiling playground v0.0.1 (/playground)
warning: unreachable call
  --> src/main.rs:10:5
   |
10 |     Foo::<()>(todo!());
   |     ^^^^^^^^^ ------- any code following this expression is unreachable
   |     |
   |     unreachable call
   |
   = note: `#[warn(unreachable_code)]` on by default

[backtrace omitted]

warning: `playground` (bin "playground") generated 1 warning
error: could not compile `playground` (bin "playground"); 1 warning emitted

Caused by:
  process didn't exit successfully: `/playground/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name playground --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=f667e856d5290bd9 -C extra-filename=-f667e856d5290bd9 --out-dir /playground/target/debug/deps -L dependency=/playground/target/debug/deps --extern addr2line=/playground/target/debug/deps/libaddr2line-3b7e488c9ad3d84d.rlib --extern adler=/playground/target/debug/deps/libadler-4b8fd5129cfff852.rlib --extern ahash_0_7_6=/playground/target/debug/deps/libahash-e2017f5e1baeb040.rlib --extern ahash=/playground/target/debug/deps/libahash-3a11afbfc8209b1e.rlib --extern aho_corasick=/playground/target/debug/deps/libaho_corasick-12c1e78aa4f4f381.rlib --extern allocator_api2=/playground/target/debug/deps/liballocator_api2-1db36c1716af32f9.rlib --extern ansi_term=/playground/target/debug/deps/libansi_term-04c9b33f73e1a189.rlib --extern anstream=/playground/target/debug/deps/libanstream-7381704e1e7dbf0d.rlib --extern anstyle=/playground/target/debug/deps/libanstyle-cea5dba1c9c2ccfa.rlib --extern anstyle_parse=/playground/target/debug/deps/libanstyle_parse-c77637acd7e75c7f.rlib --extern anstyle_query=/playground/target/debug/deps/libanstyle_query-96504d9d99497480.rlib --extern anyhow=/playground/target/debug/deps/libanyhow-787549330fdc248d.rlib --extern approx=/playground/target/debug/deps/libapprox-1dd9860c9f530efd.rlib --extern arc_swap=/playground/target/debug/deps/libarc_swap-83237bc53c414e7f.rlib --extern arrayvec=/playground/target/debug/deps/libarrayvec-be1eb839b044e645.rlib --extern async_recursion=/playground/target/debug/deps/libasync_recursion-112d77a018987f11.so --extern async_trait=/playground/target/debug/deps/libasync_trait-eb360e415f363dad.so --extern atomic=/playground/target/debug/deps/libatomic-66a22cd5662e9a9e.rlib --extern atty=/playground/target/debug/deps/libatty-4833c661c48c2987.rlib --extern autocfg=/playground/target/debug/deps/libautocfg-3d450d9074e07f59.rlib --extern backtrace=/playground/target/debug/deps/libbacktrace-78d0e3a2700434ff.rlib --extern base64=/playground/target/debug/deps/libbase64-3353100bd288f7aa.rlib --extern bit_set=/playground/target/debug/deps/libbit_set-f1e7bda0169cdee6.rlib --extern bit_vec=/playground/target/debug/deps/libbit_vec-77f50bbb39a59357.rlib --extern bit_field=/playground/target/debug/deps/libbit_field-b8fea706365d4813.rlib --extern bitflags_1_3_2=/playground/target/debug/deps/libbitflags-5a958198ada4fb16.rlib --extern bitflags=/playground/target/debug/deps/libbitflags-81182bcf7a405ebf.rlib --extern block_buffer=/playground/target/debug/deps/libblock_buffer-2548a71214fe9e6b.rlib --extern bytemuck=/playground/target/debug/deps/libbytemuck-0391d7512abff299.rlib --extern bytemuck_derive=/playground/target/debug/deps/libbytemuck_derive-87563fcc215994b2.so --extern byteorder=/playground/target/debug/deps/libbyteorder-057fc32fb98f0321.rlib --extern bytes_0_4_12=/playground/target/debug/deps/libbytes-1239f2ede9e6d5a2.rlib --extern bytes=/playground/target/debug/deps/libbytes-b8fb42d6e51e612e.rlib --extern cc=/playground/target/debug/deps/libcc-92acf05ed2649beb.rlib --extern cfg_if=/playground/target/debug/deps/libcfg_if-a13915cce13fe9ca.rlib --extern chrono=/playground/target/debug/deps/libchrono-e958ad387e421988.rlib --extern clap=/playground/target/debug/deps/libclap-c1817d67bf1502e8.rlib --extern clap_builder=/playground/target/debug/deps/libclap_builder-291059dcf88d2b36.rlib --extern clap_derive=/playground/target/debug/deps/libclap_derive-034566346250a2f4.so --extern clap_lex=/playground/target/debug/deps/libclap_lex-67de7f0fb6f1e534.rlib --extern color_quant=/playground/target/debug/deps/libcolor_quant-1e3d8251a0cfbe83.rlib --extern colorchoice=/playground/target/debug/deps/libcolorchoice-d85a47f8043f29cb.rlib --extern cookie=/playground/target/debug/deps/libcookie-6b32703a44cefd1a.rlib --extern cookie_store=/playground/target/debug/deps/libcookie_store-d849f685bed75b5e.rlib --extern cpufeatures=/playground/target/debug/deps/libcpufeatures-14ffc622a6595a75.rlib --extern crc32fast=/playground/target/debug/deps/libcrc32fast-16665c10727907d6.rlib --extern crossbeam=/playground/target/debug/deps/libcrossbeam-a307f3f712ca203c.rlib --extern crossbeam_channel=/playground/target/debug/deps/libcrossbeam_channel-43b451289c60897b.rlib --extern crossbeam_deque=/playground/target/debug/deps/libcrossbeam_deque-06ff1b74fec29c72.rlib --extern crossbeam_epoch=/playground/target/debug/deps/libcrossbeam_epoch-5ab98cd0a96d1777.rlib --extern crossbeam_queue=/playground/target/debug/deps/libcrossbeam_queue-4670823e906cced8.rlib --extern crossbeam_utils=/playground/target/debug/deps/libcrossbeam_utils-ee754b1f69c0dc54.rlib --extern crypto_common=/playground/target/debug/deps/libcrypto_common-ac0e2b30667b0410.rlib --extern csv=/playground/target/debug/deps/libcsv-9415820d43c6a5cd.rlib --extern csv_core=/playground/target/debug/deps/libcsv_core-25290cab6e465e31.rlib --extern data_encoding=/playground/target/debug/deps/libdata_encoding-1da97176ef694edd.rlib --extern derivative=/playground/target/debug/deps/libderivative-0af04edec8b29fd5.so --extern destructure_traitobject=/playground/target/debug/deps/libdestructure_traitobject-87e77274e0761883.rlib --extern digest=/playground/target/debug/deps/libdigest-4be6240ee7962327.rlib --extern either=/playground/target/debug/deps/libeither-4f7a3d068bf3f193.rlib --extern encoding_rs=/playground/target/debug/deps/libencoding_rs-2d340190abcebc77.rlib --extern env_logger=/playground/target/debug/deps/libenv_logger-e89c85895dbbabd8.rlib --extern equivalent=/playground/target/debug/deps/libequivalent-7a89dc98168f1cf3.rlib --extern error_chain=/playground/target/debug/deps/liberror_chain-3997e0fdf08c9518.rlib --extern exr=/playground/target/debug/deps/libexr-0822f42fcf5bde2c.rlib --extern fallible_iterator=/playground/target/debug/deps/libfallible_iterator-7a471d2457799014.rlib --extern fallible_streaming_iterator=/playground/target/debug/deps/libfallible_streaming_iterator-19f82d9ed1e69d6f.rlib --extern fastrand=/playground/target/debug/deps/libfastrand-81b92c95f2f8c061.rlib --extern fdeflate=/playground/target/debug/deps/libfdeflate-ff0eb99802427975.rlib --extern filetime=/playground/target/debug/deps/libfiletime-ff107a94c2279b8b.rlib --extern fixedbitset=/playground/target/debug/deps/libfixedbitset-d41ae8cca7fbfa8d.rlib --extern flate2=/playground/target/debug/deps/libflate2-6ac3ff89ab2b4221.rlib --extern flume=/playground/target/debug/deps/libflume-c0aced5b3ceff522.rlib --extern fnv=/playground/target/debug/deps/libfnv-6dccac16e49fa145.rlib --extern foreign_types=/playground/target/debug/deps/libforeign_types-390e2438c59f5ba2.rlib --extern foreign_types_shared=/playground/target/debug/deps/libforeign_types_shared-97c18a0cb4469889.rlib --extern form_urlencoded=/playground/target/debug/deps/libform_urlencoded-aa4824cf7b585f3b.rlib --extern futf=/playground/target/debug/deps/libfutf-2a83b995d1f1e9ef.rlib --extern futures_0_1_31=/playground/target/debug/deps/libfutures-93c287bdc623b6e7.rlib --extern futures=/playground/target/debug/deps/libfutures-84e0209017a1456c.rlib --extern futures_channel=/playground/target/debug/deps/libfutures_channel-efc7d69d5339ed1d.rlib --extern futures_core=/playground/target/debug/deps/libfutures_core-4c84670c46e37a23.rlib --extern futures_executor=/playground/target/debug/deps/libfutures_executor-d85feee8d9c8c456.rlib --extern futures_io=/playground/target/debug/deps/libfutures_io-6abcb6f4324dd0b6.rlib --extern futures_macro=/playground/target/debug/deps/libfutures_macro-3eb192e54ac555b2.so --extern futures_sink=/playground/target/debug/deps/libfutures_sink-b8072164df241512.rlib --extern futures_task=/playground/target/debug/deps/libfutures_task-c5a60d08552183ca.rlib --extern futures_util=/playground/target/debug/deps/libfutures_util-b587f9fe4b8d029f.rlib --extern generic_array=/playground/target/debug/deps/libgeneric_array-df33ea73e44aeaf7.rlib --extern getrandom=/playground/target/debug/deps/libgetrandom-8c3032cd1301e783.rlib --extern gif=/playground/target/debug/deps/libgif-a3ff39032fb67e9c.rlib --extern gimli=/playground/target/debug/deps/libgimli-22198397e803108d.rlib --extern glob=/playground/target/debug/deps/libglob-4a1906707ec3d0c1.rlib --extern h2=/playground/target/debug/deps/libh2-4ef9219d01ff3988.rlib --extern half=/playground/target/debug/deps/libhalf-214d6c4d9c8e2848.rlib --extern hashbrown_0_12_3=/playground/target/debug/deps/libhashbrown-c7b0f68a43b80391.rlib --extern hashbrown=/playground/target/debug/deps/libhashbrown-f42cdc88780b1be8.rlib --extern hashlink=/playground/target/debug/deps/libhashlink-cb919ca40cd31c59.rlib --extern heck=/playground/target/debug/deps/libheck-cfbb2f213904e42a.rlib --extern hmac=/playground/target/debug/deps/libhmac-00130cbfe3dc1b01.rlib --extern html5ever=/playground/target/debug/deps/libhtml5ever-3cb645f6bd309544.rlib --extern http=/playground/target/debug/deps/libhttp-14822e5715846501.rlib --extern http_body=/playground/target/debug/deps/libhttp_body-081ccf316948dcb9.rlib --extern httparse=/playground/target/debug/deps/libhttparse-06353f6a86307992.rlib --extern httpdate=/playground/target/debug/deps/libhttpdate-c86ce698aa74c2bd.rlib --extern humantime=/playground/target/debug/deps/libhumantime-f1893920e1a201c5.rlib --extern hyper=/playground/target/debug/deps/libhyper-9691c9be67d874aa.rlib --extern hyper_tls=/playground/target/debug/deps/libhyper_tls-2673d99777b323e0.rlib --extern iana_time_zone=/playground/target/debug/deps/libiana_time_zone-683eae6b206d1c76.rlib --extern idna_0_2_3=/playground/target/debug/deps/libidna-bf470b1c8792b2c1.rlib --extern idna_0_3_0=/playground/target/debug/deps/libidna-7f8b6f099c8b291d.rlib --extern idna=/playground/target/debug/deps/libidna-cf2d6e20e167a76b.rlib --extern image=/playground/target/debug/deps/libimage-90ad9b2b5c1cf02d.rlib --extern indexmap_1_9_3=/playground/target/debug/deps/libindexmap-bba7fb2604dc4915.rlib --extern indexmap=/playground/target/debug/deps/libindexmap-f82bf7595e15d49f.rlib --extern io_lifetimes=/playground/target/debug/deps/libio_lifetimes-a8c19a378c671c98.rlib --extern iovec=/playground/target/debug/deps/libiovec-6f5b72fac0ad4e8f.rlib --extern ipnet=/playground/target/debug/deps/libipnet-8c1ac4b5930d2360.rlib --extern is_terminal=/playground/target/debug/deps/libis_terminal-cd17c99a5340be1c.rlib --extern itertools=/playground/target/debug/deps/libitertools-6b0f3cea405e7a70.rlib --extern itoa=/playground/target/debug/deps/libitoa-96060544a5bf50f0.rlib --extern jpeg_decoder=/playground/target/debug/deps/libjpeg_decoder-88b015094243274e.rlib --extern lazy_static=/playground/target/debug/deps/liblazy_static-f0d1fe2c7d2f65c1.rlib --extern lebe=/playground/target/debug/deps/liblebe-df536f29a253ae0a.rlib --extern libc=/playground/target/debug/deps/liblibc-cc4165cb4f34801a.rlib --extern libm=/playground/target/debug/deps/liblibm-95f442533b806dde.rlib --extern libsqlite3_sys=/playground/target/debug/deps/liblibsqlite3_sys-4f2a330cbf664914.rlib --extern linked_hash_map=/playground/target/debug/deps/liblinked_hash_map-43c476d245d17030.rlib --extern linux_raw_sys=/playground/target/debug/deps/liblinux_raw_sys-30c9fbd41a2c17ac.rlib --extern lock_api=/playground/target/debug/deps/liblock_api-eb54b1cc510dddb6.rlib --extern log=/playground/target/debug/deps/liblog-207bcf8f2264956e.rlib --extern log_mdc=/playground/target/debug/deps/liblog_mdc-b2e522dfe6457aff.rlib --extern log4rs=/playground/target/debug/deps/liblog4rs-58983d52a0bf2d0b.rlib --extern mac=/playground/target/debug/deps/libmac-d89926eef8b40c52.rlib --extern markup5ever=/playground/target/debug/deps/libmarkup5ever-43519401bd09fe96.rlib --extern markup5ever_rcdom=/playground/target/debug/deps/libmarkup5ever_rcdom-be392668a3a1dd5e.rlib --extern matches=/playground/target/debug/deps/libmatches-efbfe2d9a1ec03f7.rlib --extern matrixmultiply=/playground/target/debug/deps/libmatrixmultiply-2116903f8f63f83d.rlib --extern md5=/playground/target/debug/deps/libmd5-ea5bdd5727b18779.rlib --extern memchr=/playground/target/debug/deps/libmemchr-2b74b2e1c7fdbf26.rlib --extern memmap=/playground/target/debug/deps/libmemmap-a6447aca6e420b29.rlib --extern memoffset=/playground/target/debug/deps/libmemoffset-21370145175590e7.rlib --extern mime=/playground/target/debug/deps/libmime-375c0418c8765671.rlib --extern mime_guess=/playground/target/debug/deps/libmime_guess-12ed07d71601ea49.rlib --extern minimal_lexical=/playground/target/debug/deps/libminimal_lexical-a83db813d9cb9018.rlib --extern miniz_oxide_0_6_2=/playground/target/debug/deps/libminiz_oxide-e4f434c7883e6758.rlib --extern miniz_oxide=/playground/target/debug/deps/libminiz_oxide-8a23a311ebb591c7.rlib --extern mio=/playground/target/debug/deps/libmio-aa5e44828a651615.rlib --extern nalgebra=/playground/target/debug/deps/libnalgebra-8fdb7a6be2edc4d0.rlib --extern nalgebra_macros=/playground/target/debug/deps/libnalgebra_macros-0d841d3f9df7d3de.so --extern nanorand=/playground/target/debug/deps/libnanorand-ba8cc468ebd431a5.rlib --extern native_tls=/playground/target/debug/deps/libnative_tls-d975986df0d7df77.rlib --extern ndarray=/playground/target/debug/deps/libndarray-1a8604d0f3ac630f.rlib --extern debug_unreachable=/playground/target/debug/deps/libdebug_unreachable-6fb3a070e178fe39.rlib --extern nom=/playground/target/debug/deps/libnom-cc3e841e62752f1f.rlib --extern num=/playground/target/debug/deps/libnum-5ebeceaf14e8d802.rlib --extern num_bigint=/playground/target/debug/deps/libnum_bigint-c1352ae8330ed3f6.rlib --extern num_complex=/playground/target/debug/deps/libnum_complex-769472626c29a675.rlib --extern num_integer=/playground/target/debug/deps/libnum_integer-87002cd43b4fa2d9.rlib --extern num_iter=/playground/target/debug/deps/libnum_iter-872c9ff39ab599cf.rlib --extern num_rational=/playground/target/debug/deps/libnum_rational-b240869646ab3b49.rlib --extern num_traits=/playground/target/debug/deps/libnum_traits-bfda70d7a278e105.rlib --extern num_cpus=/playground/target/debug/deps/libnum_cpus-601316a0dfa28e9c.rlib --extern object=/playground/target/debug/deps/libobject-444a28009e37c126.rlib --extern once_cell=/playground/target/debug/deps/libonce_cell-4d96680ec47bfa9c.rlib --extern openssl=/playground/target/debug/deps/libopenssl-98f8042a1af7493c.rlib --extern openssl_macros=/playground/target/debug/deps/libopenssl_macros-a372e780f925dbf7.so --extern openssl_probe=/playground/target/debug/deps/libopenssl_probe-e8998be82f80d555.rlib --extern openssl_sys=/playground/target/debug/deps/libopenssl_sys-7512bb0684ed2054.rlib --extern ordered_float=/playground/target/debug/deps/libordered_float-9b6c893ce4031489.rlib --extern parking_lot=/playground/target/debug/deps/libparking_lot-1a0d1ec247999307.rlib --extern parking_lot_core=/playground/target/debug/deps/libparking_lot_core-e95f37ca49108a1e.rlib --extern paste=/playground/target/debug/deps/libpaste-7202653d13a181af.so --extern percent_encoding=/playground/target/debug/deps/libpercent_encoding-1a163d421c8445cb.rlib --extern petgraph=/playground/target/debug/deps/libpetgraph-7eba2e7b6a98eb69.rlib --extern phf_0_10_1=/playground/target/debug/deps/libphf-9aa9323c0de2421a.rlib --extern phf=/playground/target/debug/deps/libphf-0bdeb420e467c4d6.rlib --extern phf_codegen=/playground/target/debug/deps/libphf_codegen-868f77caa05f4e46.rlib --extern phf_generator_0_10_0=/playground/target/debug/deps/libphf_generator-b464aafd85b5cd76.rlib --extern phf_generator=/playground/target/debug/deps/libphf_generator-55221aa7666bdaf6.rlib --extern phf_macros=/playground/target/debug/deps/libphf_macros-81a613580f5e22f7.so --extern phf_shared_0_10_0=/playground/target/debug/deps/libphf_shared-10de0480dbb2a17d.rlib --extern phf_shared=/playground/target/debug/deps/libphf_shared-37ff44cfd48e071a.rlib --extern pin_project=/playground/target/debug/deps/libpin_project-e67fad6914e17466.rlib --extern pin_project_internal=/playground/target/debug/deps/libpin_project_internal-c70db12e5c5eb92e.so --extern pin_project_lite=/playground/target/debug/deps/libpin_project_lite-9e1de089b92e1bab.rlib --extern pin_utils=/playground/target/debug/deps/libpin_utils-380243068ea90f58.rlib --extern pkg_config=/playground/target/debug/deps/libpkg_config-5c37dcaa9b5d09eb.rlib --extern png=/playground/target/debug/deps/libpng-6d9d1fb6040d4cd3.rlib --extern postgres=/playground/target/debug/deps/libpostgres-9f0319eedfc2296d.rlib --extern postgres_protocol=/playground/target/debug/deps/libpostgres_protocol-9c95137953b78507.rlib --extern postgres_types=/playground/target/debug/deps/libpostgres_types-35db2262bdc7b311.rlib --extern ppv_lite86=/playground/target/debug/deps/libppv_lite86-cf44ab309bdfbd3f.rlib --extern precomputed_hash=/playground/target/debug/deps/libprecomputed_hash-6154e18bb72758d7.rlib --extern proc_macro2=/playground/target/debug/deps/libproc_macro2-d11868d9a245435c.rlib --extern psl_types=/playground/target/debug/deps/libpsl_types-ebecc993ed268dd7.rlib --extern publicsuffix=/playground/target/debug/deps/libpublicsuffix-7d3e0d277a71fa2f.rlib --extern qoi=/playground/target/debug/deps/libqoi-80e5f4ae4e53348f.rlib --extern quote=/playground/target/debug/deps/libquote-ad14e5a695836f53.rlib --extern rand=/playground/target/debug/deps/librand-25f6de30ed51d54a.rlib --extern rand_chacha=/playground/target/debug/deps/librand_chacha-e8c5b57470cc9d42.rlib --extern rand_core=/playground/target/debug/deps/librand_core-608f6d42d9bdc790.rlib --extern rand_distr=/playground/target/debug/deps/librand_distr-1e72f080d000d8b2.rlib --extern rawpointer=/playground/target/debug/deps/librawpointer-e5a1bd7359a418d1.rlib --extern rayon=/playground/target/debug/deps/librayon-cdbf17bd003966f3.rlib --extern rayon_core=/playground/target/debug/deps/librayon_core-585b9c9932dce355.rlib --extern regex=/playground/target/debug/deps/libregex-2192e8bb307ed973.rlib --extern regex_syntax=/playground/target/debug/deps/libregex_syntax-092f78b457bcee31.rlib --extern reqwest=/playground/target/debug/deps/libreqwest-bd5b056458020a01.rlib --extern ring=/playground/target/debug/deps/libring-1b28bc9f11f04334.rlib --extern rusqlite=/playground/target/debug/deps/librusqlite-2822ee7f8e331a53.rlib --extern rustc_demangle=/playground/target/debug/deps/librustc_demangle-0d4d9ddebce559a6.rlib --extern rustc_version=/playground/target/debug/deps/librustc_version-83337f2de061ddd0.rlib --extern rustix=/playground/target/debug/deps/librustix-db77a6a09025ecc2.rlib --extern ryu=/playground/target/debug/deps/libryu-aa10cd70bef430ea.rlib --extern safe_arch=/playground/target/debug/deps/libsafe_arch-56105c562388ffcb.rlib --extern same_file=/playground/target/debug/deps/libsame_file-d9f8b73cbd13b9ec.rlib --extern scopeguard=/playground/target/debug/deps/libscopeguard-b4bce2688549665f.rlib --extern select=/playground/target/debug/deps/libselect-61256234bc311e29.rlib --extern semver=/playground/target/debug/deps/libsemver-038ae39144ccea54.rlib --extern serde=/playground/target/debug/deps/libserde-80759cbe1f922a64.rlib --extern serde_value=/playground/target/debug/deps/libserde_value-de7067c2f3cd707a.rlib --extern serde_derive=/playground/target/debug/deps/libserde_derive-4b74121cfe8db388.so --extern serde_json=/playground/target/debug/deps/libserde_json-be06103e3cb8917f.rlib --extern serde_spanned=/playground/target/debug/deps/libserde_spanned-3690107d7dd36fd3.rlib --extern serde_urlencoded=/playground/target/debug/deps/libserde_urlencoded-1753af20e8cf8750.rlib --extern serde_yaml=/playground/target/debug/deps/libserde_yaml-3154caed8e48e649.rlib --extern sha1_smol=/playground/target/debug/deps/libsha1_smol-9406869b8eecfa86.rlib --extern sha2=/playground/target/debug/deps/libsha2-433571bda4024737.rlib --extern signal_hook_registry=/playground/target/debug/deps/libsignal_hook_registry-e8c13e1f647a7da0.rlib --extern simba=/playground/target/debug/deps/libsimba-b07fcee890777da2.rlib --extern simd_adler32=/playground/target/debug/deps/libsimd_adler32-27b83c432091acee.rlib --extern siphasher=/playground/target/debug/deps/libsiphasher-69298ebffe12df71.rlib --extern slab=/playground/target/debug/deps/libslab-ffc0e08daad0ef0d.rlib --extern smallvec=/playground/target/debug/deps/libsmallvec-fdaea4482921fc83.rlib --extern smawk=/playground/target/debug/deps/libsmawk-32c9caac52f163c6.rlib --extern socket2_0_4_9=/playground/target/debug/deps/libsocket2-1336032d45428fa7.rlib --extern socket2=/playground/target/debug/deps/libsocket2-945a9eb2167d658e.rlib --extern spin_0_5_2=/playground/target/debug/deps/libspin-c01923e7df9dc3fe.rlib --extern spin=/playground/target/debug/deps/libspin-e6c5eeefcbc33cb2.rlib --extern string_cache=/playground/target/debug/deps/libstring_cache-0bbaff68b727575b.rlib --extern string_cache_codegen=/playground/target/debug/deps/libstring_cache_codegen-a0b9f66c03c39ca3.rlib --extern stringprep=/playground/target/debug/deps/libstringprep-d13420f9c9cc5f64.rlib --extern strsim=/playground/target/debug/deps/libstrsim-bc6f5a0abfdbb1fa.rlib --extern subtle=/playground/target/debug/deps/libsubtle-5cf18242af9d06c4.rlib --extern syn_1_0_109=/playground/target/debug/deps/libsyn-7bad0cae13653262.rlib --extern syn=/playground/target/debug/deps/libsyn-c7a3dc9f25fe7ad3.rlib --extern tar=/playground/target/debug/deps/libtar-5664b18fb56dec59.rlib --extern tempfile=/playground/target/debug/deps/libtempfile-c9ece16970644c87.rlib --extern tendril=/playground/target/debug/deps/libtendril-85e8849557c0bd36.rlib --extern termcolor=/playground/target/debug/deps/libtermcolor-abb05977ed40352f.rlib --extern terminal_size=/playground/target/debug/deps/libterminal_size-cd3903f2dbba3bb5.rlib --extern textwrap=/playground/target/debug/deps/libtextwrap-31bcbf3a6e864ca1.rlib --extern thiserror=/playground/target/debug/deps/libthiserror-b647d5b83e518435.rlib --extern thiserror_impl=/playground/target/debug/deps/libthiserror_impl-7f4ffcfacb079f70.so --extern thread_id=/playground/target/debug/deps/libthread_id-463fec2224362139.rlib --extern thread_local=/playground/target/debug/deps/libthread_local-a6adebd5943da6cc.rlib --extern threadpool=/playground/target/debug/deps/libthreadpool-82087c9c2ba16b98.rlib --extern tiff=/playground/target/debug/deps/libtiff-b1b5fc67e0272cbd.rlib --extern time_0_1_45=/playground/target/debug/deps/libtime-4a44af9db3fbd6ed.rlib --extern time=/playground/target/debug/deps/libtime-d5178369e04a6aa6.rlib --extern time_core=/playground/target/debug/deps/libtime_core-be48cb69fe9df9af.rlib --extern time_macros=/playground/target/debug/deps/libtime_macros-1f65884dc2c7aa31.so --extern tinyvec=/playground/target/debug/deps/libtinyvec-ed4d204dc5732912.rlib --extern tinyvec_macros=/playground/target/debug/deps/libtinyvec_macros-bab93c57d22f3fc1.rlib --extern tokio=/playground/target/debug/deps/libtokio-1cd070a6c27ba1b8.rlib --extern tokio_io=/playground/target/debug/deps/libtokio_io-547f7746d43af2e3.rlib --extern tokio_macros=/playground/target/debug/deps/libtokio_macros-016abf538ade5862.so --extern tokio_native_tls=/playground/target/debug/deps/libtokio_native_tls-7c9980797b3226f3.rlib --extern tokio_postgres=/playground/target/debug/deps/libtokio_postgres-d8cb1adb3a501bbd.rlib --extern tokio_util=/playground/target/debug/deps/libtokio_util-64be51a184934fbb.rlib --extern toml=/playground/target/debug/deps/libtoml-6cb3880b5e2d8928.rlib --extern toml_datetime=/playground/target/debug/deps/libtoml_datetime-baec2d045813e532.rlib --extern toml_edit=/playground/target/debug/deps/libtoml_edit-b3e73bbb2da5ba9f.rlib --extern tower_service=/playground/target/debug/deps/libtower_service-bf01067261c666e4.rlib --extern tracing=/playground/target/debug/deps/libtracing-4278281e8db107c1.rlib --extern tracing_attributes=/playground/target/debug/deps/libtracing_attributes-a3d82523e99d45d0.so --extern tracing_core=/playground/target/debug/deps/libtracing_core-2f9613e9aa5c2164.rlib --extern try_lock=/playground/target/debug/deps/libtry_lock-bdef16407c2dbcff.rlib --extern typemap_ors=/playground/target/debug/deps/libtypemap_ors-e77cb9d9a94dccff.rlib --extern typenum=/playground/target/debug/deps/libtypenum-b01f1979833cdcf9.rlib --extern unicase=/playground/target/debug/deps/libunicase-22e3451056be5e90.rlib --extern unicode_bidi=/playground/target/debug/deps/libunicode_bidi-5dfbff942573c3d3.rlib --extern unicode_ident=/playground/target/debug/deps/libunicode_ident-455e71a31a6a675a.rlib --extern unicode_linebreak=/playground/target/debug/deps/libunicode_linebreak-2a5c33e1611ada8e.rlib --extern unicode_normalization=/playground/target/debug/deps/libunicode_normalization-3c5bceedf232f63b.rlib --extern unicode_segmentation=/playground/target/debug/deps/libunicode_segmentation-d0d89157db668afc.rlib --extern unicode_width=/playground/target/debug/deps/libunicode_width-d3fab6f1f8542964.rlib --extern unicode_xid=/playground/target/debug/deps/libunicode_xid-b22285c0e65e1c90.rlib --extern unsafe_any_ors=/playground/target/debug/deps/libunsafe_any_ors-adab5934aa6e7cd8.rlib --extern untrusted=/playground/target/debug/deps/libuntrusted-fd8a4872de3cb60f.rlib --extern url=/playground/target/debug/deps/liburl-aa85e6e4fc0499f3.rlib --extern utf8=/playground/target/debug/deps/libutf8-005090407780d0d8.rlib --extern utf8parse=/playground/target/debug/deps/libutf8parse-63866257e9f1065b.rlib --extern uuid=/playground/target/debug/deps/libuuid-f559c7774a03a924.rlib --extern vcpkg=/playground/target/debug/deps/libvcpkg-1bb62d00dc3def47.rlib --extern version_check=/playground/target/debug/deps/libversion_check-fdc138016949b3a7.rlib --extern walkdir=/playground/target/debug/deps/libwalkdir-16456ddacb352686.rlib --extern want=/playground/target/debug/deps/libwant-2bcdac4abc1e5369.rlib --extern weezl=/playground/target/debug/deps/libweezl-fc0d5b250e7fa7ac.rlib --extern wide=/playground/target/debug/deps/libwide-00a251b880d8e225.rlib --extern winapi=/playground/target/debug/deps/libwinapi-752ab121f9e15c35.rlib --extern winnow=/playground/target/debug/deps/libwinnow-f2feaeb5de47140b.rlib --extern xattr=/playground/target/debug/deps/libxattr-a2937ba274398758.rlib --extern xml5ever=/playground/target/debug/deps/libxml5ever-bc4f8ed2d8160614.rlib --extern yaml_rust=/playground/target/debug/deps/libyaml_rust-fd74a71e33e91728.rlib --extern zune_inflate=/playground/target/debug/deps/libzune_inflate-3eba723d5aa5303b.rlib -L native=/playground/target/debug/build/libsqlite3-sys-b40d9594a8ce9149/out -L native=/playground/target/debug/build/ring-b76d2b27c901c385/out` (signal: 11, SIGSEGV: invalid memory reference)
Backtrace

``` #0 0x00007ffff60acd00 in hashbrown::raw::RawTableInner::find_or_find_insert_slot_inner () at /home/lukas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.0/src/raw/mod.rs:2137 #1 0x00007ffff60abae2 in hashbrown::raw::RawTable::find_or_find_insert_slot<(rustc_query_system::dep_graph::graph::DepNodeIndex, ()), alloc::alloc::Global, hashbrown::map::equivalent_key::{closure_env#0}, hashbrown::map::make_hasher::{closure_env#0}>> () at /home/lukas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.0/src/raw/mod.rs:1264 #2 hashbrown::map::HashMap::insert, alloc::alloc::Global> () at /home/lukas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.0/src/map.rs:1750 #3 0x00007ffff601e436 in hashbrown::set::HashSet::insert, alloc::alloc::Global> () at /home/lukas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.0/src/set.rs:1113 #4 0x00007ffff5f7cedf in std::collections::hash::set::HashSet::insert> () at library/std/src/collections/hash/set.rs:888 #5 rustc_query_system::dep_graph::graph::{impl#5}::read_index::{closure#0} () at compiler/rustc_query_system/src/dep_graph/graph.rs:493 #6 rustc_middle::dep_graph::{impl#0}::read_deps::{closure#0}> () at compiler/rustc_middle/src/dep_graph/mod.rs:68 #7 rustc_middle::ty::context::tls::with_context_opt>, ()> () at compiler/rustc_middle/src/ty/context/tls.rs:100 #8 rustc_middle::dep_graph::{impl#0}::read_deps> () at compiler/rustc_middle/src/dep_graph/mod.rs:66 #9 0x00007ffff60dc5ef in rustc_query_system::dep_graph::graph::DepGraph::read_index () at compiler/rustc_query_system/src/dep_graph/graph.rs:469 #10 rustc_query_system::query::plumbing::try_get_cached>> () at compiler/rustc_query_system/src/query/plumbing.rs:255 #11 rustc_middle::query::plumbing::query_get_at>> () at compiler/rustc_middle/src/query/plumbing.rs:153 #12 rustc_middle::query::plumbing::TyCtxtAt::erase_regions_ty () at compiler/rustc_middle/src/query/plumbing.rs:385 #13 rustc_middle::ty::context::TyCtxt::erase_regions_ty () at compiler/rustc_middle/src/query/plumbing.rs:376 #14 rustc_middle::ty::erase_regions::{impl#1}::fold_ty () at compiler/rustc_middle/src/ty/erase_regions.rs:44 #15 0x00007ffff6124e64 in rustc_middle::ty::context::TyCtxt::erase_regions () at compiler/rustc_middle/src/ty/erase_regions.rs:28 #16 0x00007ffff611e0c8 in rustc_middle::ty::context::TyCtxt::try_normalize_erasing_regions () at compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:81 #17 0x00007ffff610891f in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:68 #18 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #19 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #20 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #21 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #22 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #23 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #24 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #25 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #26 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #27 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #28 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #29 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #30 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #31 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #32 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #33 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #34 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #35 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #36 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #37 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #38 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #39 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #40 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #41 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #42 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #43 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #44 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #45 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #46 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #47 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #48 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #49 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #50 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #51 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #52 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #53 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #54 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #55 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #56 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #57 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #58 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #59 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #60 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #61 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #62 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #63 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #64 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #65 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #66 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #67 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #68 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #69 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #70 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #71 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #72 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #73 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #74 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #75 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #76 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #77 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #78 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #79 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #80 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #81 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #82 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #83 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #84 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #85 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #86 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #87 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #88 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #89 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #90 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #91 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #92 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #93 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #94 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #95 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 #96 rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #97 0x00007ffff61089c7 in rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate::apply_inner () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:74 #98 0x00007ffff610898d in rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure#3} () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:78 #99 rustc_middle::ty::inhabitedness::inhabited_predicate::try_or<&rustc_middle::ty::inhabitedness::inhabited_predicate::InhabitedPredicate, !, rustc_middle::ty::inhabitedness::inhabited_predicate::{impl#0}::apply_inner::{closure_env#3}> () at compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs:213 ```

Regression

This regressed in https://github.com/rust-lang/rust/pull/113103, previously it output a cycle error:

error[[E0391]](https://doc.rust-lang.org/beta/error_codes/E0391.html): cycle detected when computing layout of `Foo<()>`
  |
  = note: ...which requires computing layout of `<() as A>::Assoc`...
  = note: ...which again requires computing layout of `Foo<()>`, completing the cycle
note: cycle used when elaborating drops for `main`
 --> src/main.rs:9:1
  |
9 | fn main() {
  | ^^^^^^^^^

@rustbot label -I-ICE +I-crash +regression-from-stable-to-nightly

### Tasks
hameerabbasi commented 1 year ago

Bisection points to 6b46c996e1d3a07dd73beb2873d74a8a0458d05f, but I don't have the context to determine which PR it was, maybe @matthiaskrgr

Assigning P-medium as this was already non-working code, and just the error message is a bit terse.

@rustbot label -I-prioritize +P-medium