Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix intra-doc links for non-path primitives #80181

Merged
merged 4 commits into from
Dec 27, 2020

Commits on Dec 22, 2020

  1. Add a custom Res type

    - Don't make rustc_resolve::Res public; use a new type alias instead
    jyn514 committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    0fd4f8f View commit details
    Browse the repository at this point in the history
  2. Fix intra-doc links for non-path primitives

    This does *not* currently work for associated items that are
    auto-implemented by the compiler (e.g. `never::eq`), because they aren't
    present in the source code. I plan to fix this in a follow-up PR.
    jyn514 committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    4092891 View commit details
    Browse the repository at this point in the history
  3. Fix new ambiguity in the standard library

    This caught several bugs where people expected `slice` to link to the
    primitive, but it linked to the module instead.
    
    This also uses `cfg_attr(bootstrap)` since the ambiguity only occurs
    when compiling with stage 1.
    jyn514 committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    8842c1c View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2020

  1. Don't process [] and () in intra-doc links

    These caused several false positives when documenting rustc, which means
    there will likely be many more false positives in the rest of the
    ecosystem.
    jyn514 committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    6ac52f0 View commit details
    Browse the repository at this point in the history