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 #86545

Merged
merged 16 commits into from
Jun 22, 2021
Merged

Rollup of 6 pull requests #86545

merged 16 commits into from
Jun 22, 2021

Commits on Jun 17, 2021

  1. Configuration menu
    Copy the full SHA
    1738c78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7d2061 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

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

Commits on Jun 19, 2021

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

Commits on Jun 21, 2021

  1. Configuration menu
    Copy the full SHA
    b07bb6d View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary call to queries.crate_name()

    It's much more complicated than just going through the TyCtxt.
    jyn514 committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    9224b6f View commit details
    Browse the repository at this point in the history
  3. Rename cratename -> crate_name

    This makes it consistent with rustc_session::Options.
    jyn514 committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    1c557da View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ff0e046 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    8ad63ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    311f578 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#86393 - yerke:add-test-for-issue-52025, r=J…

    …ohnTitor
    
    Add regression test for issue rust-lang#52025
    
    Closes rust-lang#52025
    
    Took the test from rust-lang#52025
    JohnTitor committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    0cfaa27 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#86402 - tspiteri:source-woff2, r=jsha

    rustdoc: add optional woff2 versions of Source Serif and Source Code
    
    This provides woff2 versions of Source Serif and Source Code similar to how rust-lang#82545 provides woff2 versions of Fira Sans. The total byte count for the six files (three for each font family) is reduced by 25% from 476 KiB to 358 KiB.
    JohnTitor committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    fd96d55 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#86451 - notriddle:notriddle/rustdoc-intra-d…

    …oc-link-summary, r=CraftSpider
    
    Resolve intra-doc links in summary desc
    
    Before:
    
    ![rustdoc-intra-doc-link-summary-before](https://user-images.githubusercontent.com/1593513/122623069-9d995e80-d04f-11eb-8d46-ec2ec126bb5e.png)
    
    After:
    
    ![rustdoc-intra-doc-link-summary](https://user-images.githubusercontent.com/1593513/122623076-a4c06c80-d04f-11eb-967a-f5916871c34b.png)
    JohnTitor committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    555fbd7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#86501 - jyn514:doctest-cleanup, r=CraftSpider

    Cleanup handling of `crate_name` for doctests
    
    - Remove unnecessary reallocation
    - Remove unnecessary messing around with `queries` for the crate name; it's simpler and faster to go through the TyCtxt instead
    - Rename `cratename` -> `crate_name` for consistency with the rest of the compiler
    JohnTitor committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    8af9339 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#86517 - camsteffen:unused-unsafe-async, r=L…

    …eSeulArtichaut
    
    Fix `unused_unsafe` around `await`
    
    Enables `unused_unsafe` lint for `unsafe { future.await }`.
    
    The existing test for this is `unsafe { println!() }`, so I assume that `println!` used to contain compiler-generated unsafe but this is no longer true, and so the existing test is broken. I replaced the test with `unsafe { ...await }`. I believe `await` is currently the only instance of compiler-generated unsafe.
    
    Reverts some parts of rust-lang#85421, but the issue predates that PR.
    JohnTitor committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    8ec4e7d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#86537 - inquisitivecrystal:mark-edition-tes…

    …ts-check-pass, r=JohnTitor
    
    Mark some edition tests as check-pass
    
    ## Overview
    This helps with rust-lang#62277. In short, there are some tests that were marked as `build-pass` when it was unclear whether `check-pass` might be more appropriate. This PR marks some of those tests as `compile-pass`, in addition to making some incidental formatting improvements.
    
    ## A brief explanation of why this is correct
    These tests fall into a few buckets.
    
    `src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.rs`
    `src/test/ui/dyn-keyword/dyn-2015-idents-in-decl-macros-unlinted.rs`
    `src/test/ui/dyn-keyword/dyn-2015-idents-in-macros-unlinted.rs`
    `src/test/ui/dyn-keyword/dyn-2015-no-warnings-without-lints.rs`
    `src/test/ui/dyn-keyword/issue-56327-dyn-trait-in-macro-is-okay.rs`
    
    These test a lint for a keyword added in a new edition and the corresponding changes in keyword rules.
    
    `src/test/ui/editions/edition-feature-ok.rs`
    This checks that a feature related to an edition transition is valid.
    
    `src/test/ui/editions/edition-imports-virtual-2015-ambiguity.rs`
    This checks that imports between editions work correctly.
    
    `src/test/ui/editions/edition-keywords-2015-2015-expansion.rs`
    `src/test/ui/editions/edition-keywords-2018-2015-expansion.rs`
    This checks the interaction between a change in keyword status over editions and macros.
    
    All of the things being tested come before linking and codegen, so it is safe to use `check-pass` for them.
    JohnTitor committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    00a7d5c View commit details
    Browse the repository at this point in the history