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

Rollup of 6 pull requests #71424

Merged
merged 15 commits into from
Apr 22, 2020
Merged

Rollup of 6 pull requests #71424

merged 15 commits into from
Apr 22, 2020

Commits on Apr 17, 2020

  1. Configuration menu
    Copy the full SHA
    bc15954 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2020

  1. Configuration menu
    Copy the full SHA
    0b83a5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    289f46a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. Moving all rustdoc-ui tests to check-pass

    These were all build-pass before and don't seem to need it.
    
    Helps with rust-lang#62277
    Valloric committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    2add9d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. add test for correct await span

    csmoe committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    00d12ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a8097f View commit details
    Browse the repository at this point in the history
  3. More diagnostic items for Clippy usage

    This adds a couple of more diagnostic items to be used in Clippy.
    I chose these particular ones because they were the types which we seem
    to check for the most in Clippy. I'm not sure if the
    `cfg_attr(not(test))` is needed, but it was also used for `Vec` and a
    few other types.
    phansch committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    23b9f46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3390ff9 View commit details
    Browse the repository at this point in the history
  5. Update UI tests

    GuillaumeGomez committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    038f5b7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#70970 - eddyb:trait-vs-impl-mismatch, r=oli…

    …-obk
    
    Detect mistyped associated consts in `Instance::resolve`.
    
    *Based on rust-lang#71049 to prevent redundant/misleading downstream errors.*
    
    Fixes rust-lang#70942 by refusing to resolve an associated `const` if it doesn't have the same type in the `impl` that it does in the `trait` (which we assume had errored, and `delay_span_bug` guards against bugs).
    Dylan-DPC authored Apr 22, 2020
    Configuration menu
    Copy the full SHA
    707004c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#71203 - csmoe:issue-71137, r=csmoe

    Correct await span for async-await error reporting
    
    Closes rust-lang#71137
    r? @tmandry
    Dylan-DPC authored Apr 22, 2020
    Configuration menu
    Copy the full SHA
    7b1ce6e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#71214 - GuillaumeGomez:add-error-code-inner…

    …-doc-error, r=Dylan-DPC
    
    Add error code for inner doc error
    
    r? @Dylan-DPC
    
    cc @oli-obk
    Dylan-DPC authored Apr 22, 2020
    Configuration menu
    Copy the full SHA
    372d37b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#71337 - Valloric:rustdoc-check-pass, r=Guil…

    …laumeGomez
    
    Moving all rustdoc-ui tests to check-pass
    
    These were all build-pass before and don't seem to need it.
    
    Helps with rust-lang#62277
    
    <!-- Reviewable:start -->
    ---
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/rust-lang/rust/71337)
    <!-- Reviewable:end -->
    Dylan-DPC authored Apr 22, 2020
    Configuration menu
    Copy the full SHA
    e7c5334 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#71412 - dtolnay:uselessdoc, r=Manishearth

    Clarify unused_doc_comments note on macro invocations
    
    The previous error message used to say:
    
    <pre>
    /// doc
    ^^^^^^^ rustdoc does not generate documentation for <b>macros</b>
    </pre>
    
    Obviously we do generate documentation for macros, such as https://docs.rs/bitflags/1.2.1/bitflags/macro.bitflags.html. It's only macro invocations that don't get their own docs. This PR updates the message to say "rustdoc does not generate documentation for <b>macro invocations</b>".
    
    I observe that prior to rust-lang#69084 this used to say "rustdoc does not generate documentation for **macro expansions**", as implemented originally in rust-lang#57882. I don't have a preference between those but I made the commit before looking up the history.
    
    r? @Manishearth
    attn: @yaahc @euclio
    Dylan-DPC authored Apr 22, 2020
    Configuration menu
    Copy the full SHA
    91ef663 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#71414 - phansch:more-diagnostic-items, r=Ma…

    …nishearth
    
    More diagnostic items for Clippy usage
    
    This adds a couple of more diagnostic items to be used in Clippy.
    I chose these particular ones because they were the types which we seem
    to check for the most in Clippy. I'm not sure if the `cfg_attr(not(test))`
    is needed, but it was also used for `Vec` and a few other types.
    
    cc rust-lang/rust-clippy#5393
    
    r? @Manishearth
    Dylan-DPC authored Apr 22, 2020
    Configuration menu
    Copy the full SHA
    01fdc88 View commit details
    Browse the repository at this point in the history