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 17 pull requests #80314

Merged
merged 34 commits into from
Dec 23, 2020
Merged

Commits on Dec 17, 2020

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

Commits on Dec 19, 2020

  1. Edit rustc_middle::lint::LintSource docs

    Edit punctuation in doc comment for rustc_middle::lint::LintSource::CommandLine.
    pierwill committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    52b717f View commit details
    Browse the repository at this point in the history
  2. docs: Edit rustc_middle::ty::query::on_disk_cache

    Expand abbreviations for "incremental compliation".
    
    Also added the word "to" to the description of CacheEncoder.
    pierwill committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    4fffa74 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2020

  1. Fix labels for 'Library Tracking Issue' template

    Each label needs to be separated by a comma (see the ICE issue template
    for an example of correct usage).
    camelid committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    c127530 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e614a72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51d1806 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f8c8e4 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
    pierwill committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    32baf23 View commit details
    Browse the repository at this point in the history
  6. Remove I-prioritize from Zulip topic

    It doesn't add anything since every topic in
    `t-compiler/wg-prioritization/alerts` is about prioritization.
    And it makes it harder to see the issue title, which is what the topic
    is actually about.
    camelid committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    dc58fc4 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. Remove redundant test

    bugadani committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    dffa1e2 View commit details
    Browse the repository at this point in the history
  2. rustc_span: Provide a reserved identifier check for a specific edition

    Edition evaluation is kept lazy because it may be expensive.
    petrochenkov committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    00ff7fe View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2020

  1. Update books

    ehuss committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    1339c81 View commit details
    Browse the repository at this point in the history
  2. docs: Edit rustc_middle::middle::privacy

    Add descriptions of `AccessLevel` and `AccessLevels`.
    
    Add missing punctuation.
    pierwill committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    80aa551 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9cd992f View commit details
    Browse the repository at this point in the history
  4. Turn helper method into a closure

    `replace_prefix` is currently implemented as a method but has no real relation
    to the struct it is implemented on. Turn it into a closure and move it into the
    only method from which it is called.
    LingMan committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    ef75761 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    57b5f8c View commit details
    Browse the repository at this point in the history
  6. docs: Update rustc_middle::middle::region::ScopeTree

    This corrects the return type in docs for yield_in_source method.
    
    Closes rust-lang#80287.
    pierwill committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    f078f7c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#80136 - aDotInTheVoid:74824-test, r=Mark-Si…

    …mulacrum
    
    Add test for issue rust-lang#74824
    
    It was fixed a while ago, but doesn't have a test.
    
    Closes rust-lang#74824
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    26f2d8e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#80203 - pierwill:pierwill-rustcmiddle-lint,…

    … r=oli-obk
    
    Edit rustc_middle::lint::LintSource docs
    
    Edit punctuation in doc comment for [rustc_middle::lint::LintSource::CommandLine](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/lint/enum.LintSource.html#variant.CommandLine).
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    f84ec97 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#80204 - pierwill:pierwill-rustcmiddle-ondis…

    …k, r=varkor
    
    docs: Edit rustc_middle::ty::query::on_disk_cache
    
    Expand abbreviations for "incremental compliation".
    
    Also added the word "to" to the description of CacheEncoder.
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    8a35d3a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#80219 - camelid:library_tracking_issue-labe…

    …ls, r=m-ou-se
    
    Fix labels for 'Library Tracking Issue' template
    
    Each label needs to be separated by a comma (see the ICE issue template
    for an example of correct usage).
    
    r? `````@m-ou-se`````
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    536754f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#80222 - GreenRecycleBin:daniel/fix-rustc-st…

    …d-workspace-core-documentation, r=jyn514
    
    Fix rustc-std-workspace-core documentation
    
    r? ```@steveklabnik```
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    9446d43 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#80223 - pierwill:patch-10, r=lcnr

    docs: Fix outdated crate reference
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    f9f8446 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#80225 - pierwill:patch-11, r=lcnr

    Add module-level docs to rustc_middle::ty
    
    I thought it would be nice to point out `Ty` and `TyCtxt` on the module page, and link out to the [rustc-dev-guide chapter](https://rustc-dev-guide.rust-lang.org/ty.html).
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    e116732 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#80241 - pierwill:patch-12, r=lcnr

    Fix typo
    
    Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    5589261 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#80248 - camelid:prioritize-zulip-topic, r=M…

    …ark-Simulacrum
    
    Remove `I-prioritize` from Zulip topic
    
    It doesn't add anything since every topic in
    `t-compiler/wg-prioritization/alerts` is about prioritization.
    And it makes it harder to see the issue title, which is what the topic
    is actually about.
    
    cc ``@rust-lang/wg-prioritization``
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    805c8ac View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#80266 - bugadani:dup-test, r=jyn514

    Remove redundant test
    
    Remove ignored test. This test can also be found at src/test/rustdoc-ui/intra-doc/double-anchor.rs and the second version isn't ignored.
    
    r? ``@jyn514``
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    93690dc View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#80272 - petrochenkov:kwed, r=oli-obk

    rustc_span: Provide a reserved identifier check for a specific edition
    
    while keeping edition evaluation lazy because it may be expensive.
    
    Needed for rust-lang#80226.
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    aa7cb4f View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#80285 - ehuss:update-books, r=ehuss

    Update books
    
    ## nomicon
    
    2 commits in d8383b65f7948c2ca19191b3b4bd709b403aaf45..a5a48441d411f61556b57d762b03d6874afe575d
    2020-11-22 10:24:42 -0500 to 2020-12-06 10:39:41 +0900
    - Update atomics.md (rust-lang/nomicon#249)
    - Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate` (rust-lang/nomicon#248)
    
    ## reference
    
    2 commits in a8afdca5d0715b2257b6f8b9a032fd4dd7dae855..b278478b766178491a8b6f67afa4bcd6b64d977a
    2020-11-30 06:44:46 -0800 to 2020-12-21 18:18:03 -0800
    - Update unions for safe ManuallyDrop assignment. (rust-lang/reference#912)
    - Removing ambiguity in type-layout.md (rust-lang/reference#911)
    
    ## book
    
    25 commits in a190438d77d28041f24da4f6592e287fab073a61..5bb44f8b5b0aa105c8b22602e9b18800484afa21
    2020-11-16 10:44:08 -0600 to 2020-12-18 20:07:31 -0500
    - Make some further edits to rust-lang/book#2447
    - Merge remote-tracking branch 'origin/pr/2447'
    - Remove copied and dangling link brackets
    - Merge remote-tracking branch 'origin/pr/2359'
    - Override toolchain to nightly for run lints action. (rust-lang/book#2528)
    - Remove an uneeded 'static lifetime (rust-lang/book#1752)
    - Fixes rust-lang/book#2330. Clarify why the lock is held too long
    - Update paragraph about rustfmt in Chapter 1.2 (rust-lang/book#2304)
    - Clarify language around  further from rust-lang/book#2418
    - Merge remote-tracking branch 'origin/pr/2418'
    - Merge remote-tracking branch 'origin/pr/2475'
    - Add some further edits to rust-lang/book#2433
    - Merge remote-tracking branch 'origin/pr/2433'
    - Note all the method families to handle integer overflow
    - Merge remote-tracking branch 'origin/pr/2405'
    - Fix rust-lang/book#1855 - incorporate new reference cycle diagram
    - Make some further edits to the changes in rust-lang/book#1886
    - Merge remote-tracking branch 'origin/pr/1886'
    - Make some further edits to rust-lang/book#1998
    - Merge remote-tracking branch 'origin/pr/1998'
    - Update Rust version and output (rust-lang/book#2518)
    - Fix typo, regarding privileged ports being up to 1023 instead of 1024 (rust-lang/book#2509)
    - Change "appendixes" to "appendices" in intro. (rust-lang/book#2498)
    - Update 16-11 to use method call expression for `clone` (rust-lang/book#2511)
    - Correct chapter 20 final listing (rust-lang/book#2516)
    
    ## rust-by-example
    
    7 commits in 236c734a2cb323541b3394f98682cb981b9ec086..1cce0737d6a7d3ceafb139b4a206861fb1dcb2ab
    2020-11-30 14:05:49 -0300 to 2020-12-21 17:36:29 -0300
    - Add book.description in book.toml (rust-lang/rust-by-example#1397)
    - Simplify the call of filter_map (rust-lang/rust-by-example#1396)
    - Update README.md (rust-lang/rust-by-example#1382)
    - Add missing main function in static life time example. (rust-lang/rust-by-example#1383)
    - Clarify first matching arm and all possible values (rust-lang/rust-by-example#1395)
    - Clarify distinction between for iter and into_iter (rust-lang/rust-by-example#1394)
    - Drop extern crate (rust-lang/rust-by-example#1393)
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    4addcbc View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#80286 - pierwill:rustc-middle-privacy, r=pe…

    …trochenkov
    
    docs: Edit rustc_middle::middle::privacy
    
    Add descriptions of `AccessLevel` and `AccessLevels`.
    
    Add missing punctuation.
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    174a9fa View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#80297 - jyn514:more-docs, r=bjorn3

    Add some intra-doc links to compiler docs
    
    r? `@pierwill`
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    125156c View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#80298 - PankajChaudhary5:PankajChaudhary, r…

    …=GuillaumeGomez
    
    Improve the code quality by using matches macro
    
    Improved the code quality by using matches macro
    r? `@GuillaumeGomez`
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    5af144e View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#80299 - LingMan:helper, r=lcnr

    Turn helper method into a closure
    
    `replace_prefix` is currently implemented as a method but has no real relation
    to the struct it is implemented on. Turn it into a closure and move it into the
    only method from which it is called.
    
    `@rustbot` modify labels +C-cleanup +T-compiler
    r? `@lcnr`
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    f711f3f View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#80302 - pierwill:fix-80287, r=lcnr

    docs: Update rustc_middle::middle::region::ScopeTree
    
    Correct return type in docs for [`yield_in_source`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/middle/region/struct.ScopeTree.html#method.yield_in_scope) method.
    
    Closes rust-lang#80287.
    GuillaumeGomez committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    67f8244 View commit details
    Browse the repository at this point in the history