- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.9k
 
Description
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::prelude which among other things re-exports several "important" / well-known items, namely rustc_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 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:
