Closed
Description
Originally mentioned in #74430 (comment).
The following will work, but it seems like it shouldn't:
pub enum S {}
/// Link to [struct@S]
pub fn f() {}
Rustdoc should instead treat it as a resolution failure. This could be implemented using the disambiguator
introduced in #74078.