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
This is likely an instance of #124608 (solved by rust-lang/rfcs#3011). However it might be worth discussing this recent and concrete regression in isolation.
rustdoc-search now considers this prelude to be the "canonical" location of these items. This means that searching for Symbol no longer renders rustc_span::span::Symbol as its first result:
but rustc_attr_parsing::attributes::prelude::Symbol:
To be clear, they still link to the same item, it's just no longer apparent where this item actually comes from. See also:
Important
This is likely an instance of #124608 (solved by rust-lang/rfcs#3011). However it might be worth discussing this recent and concrete regression in isolation.
#145507 (cc @jdonszelmann) introduced
rustc_attr_parsing::attributes::preludewhich among other things re-exports several "important" / well-known items, namelyrustc_span::{DUMMY_SP, Ident, Span, Symbol, sym}(check out https://github.com/rust-lang/rust/blob/d327d651e2583eb601978179f2ca9808f5e243bb/compiler/rustc_attr_parsing/src/attributes/prelude.rs for a complete list (NB: only focus on cross-crate re-exports, not local ones)).rustdoc-search now considers this prelude to be the "canonical" location of these items. This means that searching for
Symbolno longer rendersrustc_span::span::Symbolas its first result:but
rustc_attr_parsing::attributes::prelude::Symbol:To be clear, they still link to the same item, it's just no longer apparent where this item actually comes from. See also: