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

Normalize <X as Y>::T for rustdoc #77467

Merged
merged 4 commits into from
Nov 26, 2020
Merged

Normalize <X as Y>::T for rustdoc #77467

merged 4 commits into from
Nov 26, 2020

Commits on Nov 24, 2020

  1. Configuration menu
    Copy the full SHA
    7f60ee0 View commit details
    Browse the repository at this point in the history
  2. Normalize <X as Y>::T for rustdoc

    - Only run for `QPath::Resolved` with `Some` self parameter (`<X as Y>::T`)
    - Fall back to the previous behavior if the path can't be resolved
    - Show what the behavior is if the type can't be normalized
    - Run `resolve_vars_if_possible`
    
      It's not clear whether or not this is necessary. See
      rust-lang#77616 for more context.
    
    - Add a test for cross-crate re-exports
    - Use the same code for both `hir::Ty` and `Ty`
    jyn514 committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    a192e5d View commit details
    Browse the repository at this point in the history
  3. Track ParamEnvs properly

    This uses the same `with_param_env` pattern that late lints use.
    Thanks to all the doctree refactors, this was very easy to add.
    jyn514 committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    6278daa View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Remove redundant lift_to_tcx

    ... and fix some fuzzy wording in the debug logging.
    jyn514 committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    277bdbc View commit details
    Browse the repository at this point in the history