You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-bugCategory: This is a bug.glacierICE tracked in rust-lang/glacier.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
error[E0747]: constant provided when a type was expected
--> ./05601e0a932cb411d163bdd90c4ea623510a92ce.rs:1:11
|
1 | impl Vec< br##"*.."## > {}
| ^^^^^^^^^^^
thread 'rustc' panicked at 'Error', src/librustdoc/clean/mod.rs:1812:25
stack backtrace:
0: 0x7f6faa9662da - std::backtrace_rs::backtrace::libunwind::trace::h217eb04aed2c45de
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x7f6faa9662da - std::backtrace_rs::backtrace::trace_unsynchronized::h8d7ebe2490fc8887
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7f6faa9662da - std::sys_common::backtrace::_print_fmt::hf5be7add3e3c061b
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/sys_common/backtrace.rs:65:5
3: 0x7f6faa9662da - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc3f0b6fc09e1404b
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/sys_common/backtrace.rs:44:22
4: 0x7f6faa9c8ece - core::fmt::write::h21bd73c842f4e089
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/core/src/fmt/mod.rs:1208:17
5: 0x7f6faa956795 - std::io::Write::write_fmt::hc308562d08004f3e
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/io/mod.rs:1682:15
6: 0x7f6faa9660a5 - std::sys_common::backtrace::_print::h35dbc8fac7f76168
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/sys_common/backtrace.rs:47:5
7: 0x7f6faa9660a5 - std::sys_common::backtrace::print::h73d53422718fe2c6
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/sys_common/backtrace.rs:34:9
8: 0x7f6faa968def - std::panicking::default_hook::{{closure}}::h48456de670413439
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/panicking.rs:267:22
9: 0x7f6faa968b2b - std::panicking::default_hook::h133845cf05f47840
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/panicking.rs:286:9
10: 0x7f6faa96960c - std::panicking::rust_panic_with_hook::hb428246b31e531d9
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/panicking.rs:688:13
11: 0x7f6faa969362 - std::panicking::begin_panic_handler::{{closure}}::ha15618c185ebb8be
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/panicking.rs:577:13
12: 0x7f6faa96678c - std::sys_common::backtrace::__rust_end_short_backtrace::ha22c9026619d93a1
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/sys_common/backtrace.rs:137:18
13: 0x7f6faa9690b2 - rust_begin_unwind
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/panicking.rs:575:5
14: 0x7f6faa9c58b3 - core::panicking::panic_fmt::hee7675342c7d8922
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/core/src/panicking.rs:64:14
15: 0x56202b3490ca - rustdoc[37fab5a146ca0381]::clean::clean_middle_ty
16: 0x56202b33c6d7 - rustdoc[37fab5a146ca0381]::clean::clean_const
17: 0x56202b3b3f83 - <core[e1ff35b71d1701d9]::iter::adapters::map::Map<core[e1ff35b71d1701d9]::slice::iter::Iter<rustc_hir[d215fbc8439c4c5e]::hir::GenericArg>, rustdoc[37fab5a146ca0381]::clean::clean_generic_args::{closure#1}> as core[e1ff35b71d1701d9]::iter::traits::iterator::Iterator>::fold::<(), core[e1ff35b71d1701d9]::iter::traits::iterator::Iterator::for_each::call<rustdoc[37fab5a146ca0381]::clean::types::GenericArg, <alloc[279ad31ef126e141]::vec::Vec<rustdoc[37fab5a146ca0381]::clean::types::GenericArg>>::extend_trusted<core[e1ff35b71d1701d9]::iter::adapters::map::Map<core[e1ff35b71d1701d9]::slice::iter::Iter<rustc_hir[d215fbc8439c4c5e]::hir::GenericArg>, rustdoc[37fab5a146ca0381]::clean::clean_generic_args::{closure#1}>>::{closure#0}>::{closure#0}>
18: 0x56202b16d75e - <alloc[279ad31ef126e141]::vec::Vec<rustdoc[37fab5a146ca0381]::clean::types::GenericArg> as alloc[279ad31ef126e141]::vec::spec_from_iter::SpecFromIter<rustdoc[37fab5a146ca0381]::clean::types::GenericArg, core[e1ff35b71d1701d9]::iter::adapters::map::Map<core[e1ff35b71d1701d9]::slice::iter::Iter<rustc_hir[d215fbc8439c4c5e]::hir::GenericArg>, rustdoc[37fab5a146ca0381]::clean::clean_generic_args::{closure#1}>>>::from_iter
19: 0x56202b349aaa - rustdoc[37fab5a146ca0381]::clean::clean_generic_args
20: 0x56202b32777d - <thin_vec[ceaaa807d5cf7a3c]::ThinVec<rustdoc[37fab5a146ca0381]::clean::types::PathSegment> as core[e1ff35b71d1701d9]::iter::traits::collect::FromIterator<rustdoc[37fab5a146ca0381]::clean::types::PathSegment>>::from_iter::<core[e1ff35b71d1701d9]::iter::adapters::map::Map<core[e1ff35b71d1701d9]::slice::iter::Iter<rustc_hir[d215fbc8439c4c5e]::hir::PathSegment>, rustdoc[37fab5a146ca0381]::clean::clean_path::{closure#0}>>
21: 0x56202b345f5b - rustdoc[37fab5a146ca0381]::clean::clean_qpath
22: 0x56202b3474ac - rustdoc[37fab5a146ca0381]::clean::clean_ty
23: 0x56202b34a5e3 - rustdoc[37fab5a146ca0381]::clean::clean_impl
24: 0x56202b27cf20 - <rustdoc[37fab5a146ca0381]::core::DocContext>::with_param_env::<alloc[279ad31ef126e141]::vec::Vec<rustdoc[37fab5a146ca0381]::clean::types::Item>, rustdoc[37fab5a146ca0381]::clean::clean_maybe_renamed_item::{closure#1}>
25: 0x56202b33a7e5 - <&mut rustdoc[37fab5a146ca0381]::clean::clean_doc_module::{closure#2} as core[e1ff35b71d1701d9]::ops::function::FnOnce<(&(&rustc_hir[d215fbc8439c4c5e]::hir::Item, core[e1ff35b71d1701d9]::option::Option<rustc_span[323ba4f8bef90746]::symbol::Symbol>, core[e1ff35b71d1701d9]::option::Option<rustc_hir[d215fbc8439c4c5e]::hir_id::HirId>),)>>::call_once
26: 0x56202b163844 - <alloc[279ad31ef126e141]::vec::Vec<rustdoc[37fab5a146ca0381]::clean::types::Item> as alloc[279ad31ef126e141]::vec::spec_extend::SpecExtend<rustdoc[37fab5a146ca0381]::clean::types::Item, core[e1ff35b71d1701d9]::iter::adapters::flatten::FlatMap<core[e1ff35b71d1701d9]::slice::iter::Iter<(&rustc_hir[d215fbc8439c4c5e]::hir::Item, core[e1ff35b71d1701d9]::option::Option<rustc_span[323ba4f8bef90746]::symbol::Symbol>, core[e1ff35b71d1701d9]::option::Option<rustc_hir[d215fbc8439c4c5e]::hir_id::HirId>)>, alloc[279ad31ef126e141]::vec::Vec<rustdoc[37fab5a146ca0381]::clean::types::Item>, rustdoc[37fab5a146ca0381]::clean::clean_doc_module::{closure#2}>>>::spec_extend
27: 0x56202b33b962 - rustdoc[37fab5a146ca0381]::clean::clean_doc_module
28: 0x56202b2395c1 - rustdoc[37fab5a146ca0381]::clean::utils::krate
29: 0x56202b2f06c4 - <rustc_session[f586d2b4d440cc8a]::session::Session>::time::<rustdoc[37fab5a146ca0381]::clean::types::Crate, rustdoc[37fab5a146ca0381]::core::run_global_ctxt::{closure#4}>
30: 0x56202b2822e7 - rustdoc[37fab5a146ca0381]::core::run_global_ctxt
31: 0x56202b2f0acc - <rustc_session[f586d2b4d440cc8a]::session::Session>::time::<(rustdoc[37fab5a146ca0381]::clean::types::Crate, rustdoc[37fab5a146ca0381]::config::RenderOptions, rustdoc[37fab5a146ca0381]::formats::cache::Cache), rustdoc[37fab5a146ca0381]::main_args::{closure#1}::{closure#0}::{closure#1}::{closure#0}>
32: 0x56202b36349f - <rustc_interface[e2cb08752aecdf39]::passes::QueryContext>::enter::<rustdoc[37fab5a146ca0381]::main_args::{closure#1}::{closure#0}::{closure#1}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>
33: 0x56202b1f326a - <rustc_interface[e2cb08752aecdf39]::interface::Compiler>::enter::<rustdoc[37fab5a146ca0381]::main_args::{closure#1}::{closure#0}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>
34: 0x56202b24fbb5 - rustc_span[323ba4f8bef90746]::with_source_map::<core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>, rustc_interface[e2cb08752aecdf39]::interface::run_compiler<core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>, rustdoc[37fab5a146ca0381]::main_args::{closure#1}>::{closure#0}::{closure#0}>
35: 0x56202b0d0865 - <scoped_tls[b7ce8b7e4286e02d]::ScopedKey<rustc_span[323ba4f8bef90746]::SessionGlobals>>::set::<rustc_interface[e2cb08752aecdf39]::interface::run_compiler<core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>, rustdoc[37fab5a146ca0381]::main_args::{closure#1}>::{closure#0}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>
36: 0x56202b2c5d70 - std[2f49e04a49785d41]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[e2cb08752aecdf39]::util::run_in_thread_pool_with_globals<rustc_interface[e2cb08752aecdf39]::interface::run_compiler<core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>, rustdoc[37fab5a146ca0381]::main_args::{closure#1}>::{closure#0}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>
37: 0x56202b3bb72d - <<std[2f49e04a49785d41]::thread::Builder>::spawn_unchecked_<rustc_interface[e2cb08752aecdf39]::util::run_in_thread_pool_with_globals<rustc_interface[e2cb08752aecdf39]::interface::run_compiler<core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>, rustdoc[37fab5a146ca0381]::main_args::{closure#1}>::{closure#0}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e1ff35b71d1701d9]::result::Result<(), rustc_errors[3f04fd9a36ec0931]::ErrorGuaranteed>>::{closure#1} as core[e1ff35b71d1701d9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
38: 0x7f6faa973343 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d679a3e0eef548a
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/alloc/src/boxed.rs:2000:9
39: 0x7f6faa973343 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5129455b92134839
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/alloc/src/boxed.rs:2000:9
40: 0x7f6faa973343 - std::sys::unix::thread::Thread::new::thread_start::haa6aecc225cb6cab
at /rustc/53e4b9dd74c29cc9308b8d0f10facac70bb101a7/library/std/src/sys/unix/thread.rs:108:17
41: 0x7f6faa7068fd - <unknown>
42: 0x7f6faa788a60 - <unknown>
43: 0x0 - <unknown>
error: aborting due to previous error
For more information about this error, try `rustc --explain E0747`.
The text was updated successfully, but these errors were encountered:
matthiaskrgr
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
C-bug
Category: This is a bug.
labels
Dec 5, 2022
C-bugCategory: This is a bug.glacierICE tracked in rust-lang/glacier.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: