Closed
Description
Code
./src/test/ui/associated-consts/issue-102335-const.rs
#![feature(associated_const_equality)]
trait T {
type A: S<C<X = 0i32> = 34>;
//~^ ERROR associated type bindings are not allowed here
}
trait S {
const C: i32;
}
fn main() {}
Meta
rustc --version --verbose
:
rustdoc 1.66.0-nightly (ce7f0f1aa 2022-09-28)
binary: rustdoc
commit-hash: ce7f0f1aa0f02c45cad0749e63f3086234b1f422
commit-date: 2022-09-28
host: x86_64-unknown-linux-gnu
release: 1.66.0-nightly
LLVM version: 15.0.0
Error output
rustdoc ./src/test/ui/associated-consts/issue-102335-const.rs
<output>
Backtrace
thread 'rustc' panicked at 'Error', src/librustdoc/clean/mod.rs:1737:25
stack backtrace:
0: 0x7fe774570170 - std::backtrace_rs::backtrace::libunwind::trace::hac9b0f7f9661e748
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
1: 0x7fe774570170 - std::backtrace_rs::backtrace::trace_unsynchronized::hc44795987fc42d34
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7fe774570170 - std::sys_common::backtrace::_print_fmt::h11541e17c3fc86a7
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:66:5
3: 0x7fe774570170 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc17ff1666cc882db
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:45:22
4: 0x7fe7745cae2e - core::fmt::write::h55fcab10ae826150
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/core/src/fmt/mod.rs:1209:17
5: 0x7fe774560db5 - std::io::Write::write_fmt::hf963d6d18d14f181
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/io/mod.rs:1679:15
6: 0x7fe774572ef3 - std::sys_common::backtrace::_print::h994ce2c0e5b405c8
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:48:5
7: 0x7fe774572ef3 - std::sys_common::backtrace::print::hcc56026dcd969e04
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:35:9
8: 0x7fe774572ef3 - std::panicking::default_hook::{{closure}}::h88f2c5d855241086
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:267:22
9: 0x7fe774572bdf - std::panicking::default_hook::h8c95d81babfc3452
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:286:9
10: 0x7fe776da8801 - rustc_driver[b4131074c7377c18]::DEFAULT_HOOK::{closure#0}::{closure#0}
11: 0x7fe77457372b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h67c5cbe4132c274b
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/alloc/src/boxed.rs:1952:9
12: 0x7fe77457372b - std::panicking::rust_panic_with_hook::h60207dae86acc93c
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:673:13
13: 0x7fe774573541 - std::panicking::begin_panic_handler::{{closure}}::h417b25e282e7bdd0
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:558:13
14: 0x7fe77457061c - std::sys_common::backtrace::__rust_end_short_backtrace::hed3dc7a8acb54b37
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:138:18
15: 0x7fe7745732a2 - rust_begin_unwind
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:556:5
16: 0x7fe7745c7a03 - core::panicking::panic_fmt::h33353e845faa36b7
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/core/src/panicking.rs:142:14
17: 0x564a50dd4edc - rustdoc[fd64ae257ec160cb]::clean::clean_middle_ty
18: 0x564a50dcb112 - rustdoc[fd64ae257ec160cb]::clean::clean_middle_const
19: 0x564a50dd5ac8 - rustdoc[fd64ae257ec160cb]::clean::clean_generic_args
20: 0x564a50dd59a8 - rustdoc[fd64ae257ec160cb]::clean::clean_generic_args
21: 0x564a50be9b8d - <alloc[c8bb264001a6b8ff]::vec::Vec<rustdoc[fd64ae257ec160cb]::clean::types::PathSegment> as alloc[c8bb264001a6b8ff]::vec::spec_from_iter::SpecFromIter<rustdoc[fd64ae257ec160cb]::clean::types::PathSegment, core[de81bf0691074480]::iter::adapters::map::Map<core[de81bf0691074480]::slice::iter::Iter<rustc_hir[d07a7723d7da46ee]::hir::PathSegment>, rustdoc[fd64ae257ec160cb]::clean::clean_path::{closure#0}>>>::from_iter
22: 0x564a50dcf39e - rustdoc[fd64ae257ec160cb]::clean::clean_poly_trait_ref
23: 0x564a50dca56b - rustdoc[fd64ae257ec160cb]::clean::clean_generic_bound
24: 0x564a50bea67e - <alloc[c8bb264001a6b8ff]::vec::Vec<rustdoc[fd64ae257ec160cb]::clean::types::GenericBound> as alloc[c8bb264001a6b8ff]::vec::spec_from_iter::SpecFromIter<rustdoc[fd64ae257ec160cb]::clean::types::GenericBound, core[de81bf0691074480]::iter::adapters::filter_map::FilterMap<core[de81bf0691074480]::slice::iter::Iter<rustc_hir[d07a7723d7da46ee]::hir::GenericBound>, rustdoc[fd64ae257ec160cb]::clean::clean_trait_item::{closure#0}::{closure#2}>>>::from_iter
25: 0x564a50cd1104 - <rustdoc[fd64ae257ec160cb]::core::DocContext>::with_param_env::<rustdoc[fd64ae257ec160cb]::clean::types::Item, rustdoc[fd64ae257ec160cb]::clean::clean_trait_item::{closure#0}>
26: 0x564a50bef421 - <alloc[c8bb264001a6b8ff]::vec::Vec<rustdoc[fd64ae257ec160cb]::clean::types::Item> as alloc[c8bb264001a6b8ff]::vec::spec_from_iter::SpecFromIter<rustdoc[fd64ae257ec160cb]::clean::types::Item, core[de81bf0691074480]::iter::adapters::map::Map<core[de81bf0691074480]::slice::iter::Iter<rustc_hir[d07a7723d7da46ee]::hir::TraitItemRef>, rustdoc[fd64ae257ec160cb]::clean::clean_maybe_renamed_item::{closure#1}::{closure#5}>>>::from_iter
27: 0x564a50ccef37 - <rustdoc[fd64ae257ec160cb]::core::DocContext>::with_param_env::<alloc[c8bb264001a6b8ff]::vec::Vec<rustdoc[fd64ae257ec160cb]::clean::types::Item>, rustdoc[fd64ae257ec160cb]::clean::clean_maybe_renamed_item::{closure#1}>
28: 0x564a50dc8b5b - <&mut rustdoc[fd64ae257ec160cb]::clean::clean_doc_module::{closure#2} as core[de81bf0691074480]::ops::function::FnOnce<(&(&rustc_hir[d07a7723d7da46ee]::hir::Item, core[de81bf0691074480]::option::Option<rustc_span[a9093c78adc8a30e]::symbol::Symbol>),)>>::call_once
29: 0x564a50be04aa - <alloc[c8bb264001a6b8ff]::vec::Vec<rustdoc[fd64ae257ec160cb]::clean::types::Item> as alloc[c8bb264001a6b8ff]::vec::spec_extend::SpecExtend<rustdoc[fd64ae257ec160cb]::clean::types::Item, core[de81bf0691074480]::iter::adapters::flatten::FlatMap<core[de81bf0691074480]::slice::iter::Iter<(&rustc_hir[d07a7723d7da46ee]::hir::Item, core[de81bf0691074480]::option::Option<rustc_span[a9093c78adc8a30e]::symbol::Symbol>)>, alloc[c8bb264001a6b8ff]::vec::Vec<rustdoc[fd64ae257ec160cb]::clean::types::Item>, rustdoc[fd64ae257ec160cb]::clean::clean_doc_module::{closure#2}>>>::spec_extend
30: 0x564a50dca1a0 - rustdoc[fd64ae257ec160cb]::clean::clean_doc_module
31: 0x564a50b9cdf4 - rustdoc[fd64ae257ec160cb]::clean::utils::krate
32: 0x564a50dec964 - <rustc_session[d3255eaf8224a584]::session::Session>::time::<rustdoc[fd64ae257ec160cb]::clean::types::Crate, rustdoc[fd64ae257ec160cb]::core::run_global_ctxt::{closure#4}>
33: 0x564a50cd6761 - rustdoc[fd64ae257ec160cb]::core::run_global_ctxt
34: 0x564a50decd8f - <rustc_session[d3255eaf8224a584]::session::Session>::time::<(rustdoc[fd64ae257ec160cb]::clean::types::Crate, rustdoc[fd64ae257ec160cb]::config::RenderOptions, rustdoc[fd64ae257ec160cb]::formats::cache::Cache), rustdoc[fd64ae257ec160cb]::main_options::{closure#0}::{closure#0}::{closure#1}::{closure#0}>
35: 0x564a50d3f381 - <rustc_interface[f0f2c906f605917e]::passes::QueryContext>::enter::<rustdoc[fd64ae257ec160cb]::main_options::{closure#0}::{closure#0}::{closure#1}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>
36: 0x564a50c8f12b - <rustc_interface[f0f2c906f605917e]::interface::Compiler>::enter::<rustdoc[fd64ae257ec160cb]::main_options::{closure#0}::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>
37: 0x564a50e63a80 - rustc_span[a9093c78adc8a30e]::with_source_map::<core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>, rustc_interface[f0f2c906f605917e]::interface::create_compiler_and_run<core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>, rustdoc[fd64ae257ec160cb]::main_options::{closure#0}>::{closure#1}>
38: 0x564a50cbe51e - rustc_interface[f0f2c906f605917e]::interface::create_compiler_and_run::<core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>, rustdoc[fd64ae257ec160cb]::main_options::{closure#0}>
39: 0x564a50b4bea0 - rustdoc[fd64ae257ec160cb]::main_options
40: 0x564a50c9088b - <scoped_tls[77ed516bf348563d]::ScopedKey<rustc_span[a9093c78adc8a30e]::SessionGlobals>>::set::<rustdoc[fd64ae257ec160cb]::main_args::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>
41: 0x564a50e028b0 - std[1bac5bf8d99344e6]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f0f2c906f605917e]::util::run_in_thread_pool_with_globals<rustdoc[fd64ae257ec160cb]::main_args::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>
42: 0x564a50cc2dec - <<std[1bac5bf8d99344e6]::thread::Builder>::spawn_unchecked_<rustc_interface[f0f2c906f605917e]::util::run_in_thread_pool_with_globals<rustdoc[fd64ae257ec160cb]::main_args::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>::{closure#1} as core[de81bf0691074480]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
43: 0x7fe77457d393 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd5e3cab38cec9739
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/alloc/src/boxed.rs:1938:9
44: 0x7fe77457d393 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h970a034a5216df96
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/alloc/src/boxed.rs:1938:9
45: 0x7fe77457d393 - std::sys::unix::thread::Thread::new::thread_start::h19f111f22a37ea01
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys/unix/thread.rs:108:17
46: 0x7fe7742b578d - <unknown>
47: 0x7fe7743368e4 - clone
48: 0x0 - <unknown>
error: internal compiler error: unexpected panic
note: 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: rustc 1.66.0-nightly (ce7f0f1aa 2022-09-28) running on x86_64-unknown-linux-gnu
query stack during panic:
end of query stack
error: internal compiler error: no errors encountered even though `delay_span_bug` issued
error: internal compiler error: unexpected const parent in type_of(): TypeBinding(TypeBinding { hir_id: HirId { owner: OwnerId { def_id: DefId(0:4 ~ issue_102335_const[6795]::T::A) }, local_id: 3 }, ident: X#0, gen_args: GenericArgs { args: [], bindings: [], parenthesized: false, span_ext: no-location (#0) }, kind: Equality { term: Const(AnonConst { hir_id: HirId { owner: OwnerId { def_id: DefId(0:4 ~ issue_102335_const[6795]::T::A) }, local_id: 1 }, body: BodyId { hir_id: HirId { owner: OwnerId { def_id: DefId(0:4 ~ issue_102335_const[6795]::T::A) }, local_id: 2 } } }) }, span: ./src/test/ui/associated-consts/issue-102335-const.rs:4:17: 4:25 (#0) })
|
= note: delayed at compiler/rustc_hir_analysis/src/collect/type_of.rs:456:23
error: internal compiler error: Const::from_anon_const: couldn't lit_to_const TypeError
--> ./src/test/ui/associated-consts/issue-102335-const.rs:4:21
|
4 | type A: S<C<X = 0i32> = 34>;
| ^^^^
|
= note: delayed at compiler/rustc_middle/src/ty/consts.rs:122:30
thread 'rustc' panicked at 'Box<dyn Any>', compiler/rustc_errors/src/lib.rs:1530:13
stack backtrace:
0: 0x7fe774570170 - std::backtrace_rs::backtrace::libunwind::trace::hac9b0f7f9661e748
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
1: 0x7fe774570170 - std::backtrace_rs::backtrace::trace_unsynchronized::hc44795987fc42d34
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7fe774570170 - std::sys_common::backtrace::_print_fmt::h11541e17c3fc86a7
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:66:5
3: 0x7fe774570170 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc17ff1666cc882db
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:45:22
4: 0x7fe7745cae2e - core::fmt::write::h55fcab10ae826150
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/core/src/fmt/mod.rs:1209:17
5: 0x7fe774560db5 - std::io::Write::write_fmt::hf963d6d18d14f181
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/io/mod.rs:1679:15
6: 0x7fe774572ef3 - std::sys_common::backtrace::_print::h994ce2c0e5b405c8
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:48:5
7: 0x7fe774572ef3 - std::sys_common::backtrace::print::hcc56026dcd969e04
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys_common/backtrace.rs:35:9
8: 0x7fe774572ef3 - std::panicking::default_hook::{{closure}}::h88f2c5d855241086
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:267:22
9: 0x7fe774572bdf - std::panicking::default_hook::h8c95d81babfc3452
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:286:9
10: 0x7fe776da8801 - rustc_driver[b4131074c7377c18]::DEFAULT_HOOK::{closure#0}::{closure#0}
11: 0x7fe77457372b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h67c5cbe4132c274b
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/alloc/src/boxed.rs:1952:9
12: 0x7fe77457372b - std::panicking::rust_panic_with_hook::h60207dae86acc93c
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/panicking.rs:673:13
13: 0x7fe777ec1701 - std[1bac5bf8d99344e6]::panicking::begin_panic::<rustc_errors[6dd3b64aee5d90d7]::ExplicitBug>::{closure#0}
14: 0x7fe777ec0026 - std[1bac5bf8d99344e6]::sys_common::backtrace::__rust_end_short_backtrace::<std[1bac5bf8d99344e6]::panicking::begin_panic<rustc_errors[6dd3b64aee5d90d7]::ExplicitBug>::{closure#0}, !>
15: 0x7fe777eb9fb6 - std[1bac5bf8d99344e6]::panicking::begin_panic::<rustc_errors[6dd3b64aee5d90d7]::ExplicitBug>
16: 0x7fe777ebc7d6 - std[1bac5bf8d99344e6]::panic::panic_any::<rustc_errors[6dd3b64aee5d90d7]::ExplicitBug>
17: 0x7fe7769151c8 - <rustc_errors[6dd3b64aee5d90d7]::HandlerInner as core[de81bf0691074480]::ops::drop::Drop>::drop
18: 0x564a50e54c78 - core[de81bf0691074480]::ptr::drop_in_place::<rustc_session[d3255eaf8224a584]::parse::ParseSess>
19: 0x564a50e5e698 - <alloc[c8bb264001a6b8ff]::rc::Rc<rustc_session[d3255eaf8224a584]::session::Session> as core[de81bf0691074480]::ops::drop::Drop>::drop
20: 0x564a50e79b2d - core[de81bf0691074480]::ptr::drop_in_place::<rustc_interface[f0f2c906f605917e]::interface::Compiler>
21: 0x564a50e63c40 - rustc_span[a9093c78adc8a30e]::with_source_map::<core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>, rustc_interface[f0f2c906f605917e]::interface::create_compiler_and_run<core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>, rustdoc[fd64ae257ec160cb]::main_options::{closure#0}>::{closure#1}>
22: 0x564a50cbe51e - rustc_interface[f0f2c906f605917e]::interface::create_compiler_and_run::<core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>, rustdoc[fd64ae257ec160cb]::main_options::{closure#0}>
23: 0x564a50b4bea0 - rustdoc[fd64ae257ec160cb]::main_options
24: 0x564a50c9088b - <scoped_tls[77ed516bf348563d]::ScopedKey<rustc_span[a9093c78adc8a30e]::SessionGlobals>>::set::<rustdoc[fd64ae257ec160cb]::main_args::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>
25: 0x564a50e028b0 - std[1bac5bf8d99344e6]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f0f2c906f605917e]::util::run_in_thread_pool_with_globals<rustdoc[fd64ae257ec160cb]::main_args::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>
26: 0x564a50cc2dec - <<std[1bac5bf8d99344e6]::thread::Builder>::spawn_unchecked_<rustc_interface[f0f2c906f605917e]::util::run_in_thread_pool_with_globals<rustdoc[fd64ae257ec160cb]::main_args::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>::{closure#0}, core[de81bf0691074480]::result::Result<(), rustc_errors[6dd3b64aee5d90d7]::ErrorGuaranteed>>::{closure#1} as core[de81bf0691074480]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
27: 0x7fe77457d393 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd5e3cab38cec9739
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/alloc/src/boxed.rs:1938:9
28: 0x7fe77457d393 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h970a034a5216df96
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/alloc/src/boxed.rs:1938:9
29: 0x7fe77457d393 - std::sys::unix::thread::Thread::new::thread_start::h19f111f22a37ea01
at /rustc/ce7f0f1aa0f02c45cad0749e63f3086234b1f422/library/std/src/sys/unix/thread.rs:108:17
30: 0x7fe7742b578d - <unknown>
31: 0x7fe7743368e4 - clone
32: 0x0 - <unknown>
note: 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: rustc 1.66.0-nightly (ce7f0f1aa 2022-09-28) running on x86_64-unknown-linux-gnu
query stack during panic:
end of query stack
thread panicked while panicking. aborting.
[1] 203826 IOT instruction (core dumped) rustdoc ./src/test/ui/associated-consts/issue-102335-const.rs
Metadata
Metadata
Assignees
Labels
Category: This is a bug.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Relevant to the rustdoc team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.