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 9 pull requests #104208

Closed
wants to merge 58 commits into from
Closed

Commits on Oct 20, 2022

  1. Add context to compiler error message

    Changed `creates a temporary which is freed while still in use` to
    `creates a temporary value which is freed while still in use`
    b4den committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    c87567c View commit details
    Browse the repository at this point in the history
  2. Update tests to match error message changes

    b4den committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    6cb6564 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2022

  1. Remove linuxkernel targets

    These are not used by the actual Rust-for-Linux project, so they're mostly just confusing.
    alex committed Nov 5, 2022
    Configuration menu
    Copy the full SHA
    c33ee13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de0ab1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae948c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

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

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    303653e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a45151e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7a40dd View commit details
    Browse the repository at this point in the history
  4. Remove overloaded_span argument from new, where it is usually redun…

    …dant with the main span
    oli-obk committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    1d93b35 View commit details
    Browse the repository at this point in the history
  5. Remove an unused span

    oli-obk committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    b745a29 View commit details
    Browse the repository at this point in the history
  6. Update books

    ehuss committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    ef40824 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Configuration menu
    Copy the full SHA
    ba359d8 View commit details
    Browse the repository at this point in the history
  2. Fix rustdoc --version when used with download-rustc

    Previously, rustdoc would unconditionally report the version that *rustc* was compiled with.
    That showed things like `nightly-2022-10-30`, which wasn't right, since this was a `dev` build compiled from source.
    
    Fix it by changing `rustc_driver::version` to a macro expanded at invocation time.
    jyn514 committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a68ec22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    575f609 View commit details
    Browse the repository at this point in the history
  4. Formatting

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a54c800 View commit details
    Browse the repository at this point in the history
  5. locales formatting

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    1c4bd83 View commit details
    Browse the repository at this point in the history
  6. Trailing whitespaces

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    21b0426 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b164790 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    69d412a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    05ae7ec View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4c625dc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9f0c165 View commit details
    Browse the repository at this point in the history
  12. Fix diag() and formatting

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    ec1e101 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    59b8aed View commit details
    Browse the repository at this point in the history
  14. Formatting

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    f031823 View commit details
    Browse the repository at this point in the history
  15. Port layout size overflow

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    39d363f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5d79d3c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    60ee496 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    02403ee View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    978b5f7 View commit details
    Browse the repository at this point in the history
  20. Port ArchiveBuildFailure

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    d32caf9 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ddbb650 View commit details
    Browse the repository at this point in the history
  22. Port ErrorCallingDllTool

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    81f7a8d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c01546f View commit details
    Browse the repository at this point in the history
  24. Port UnknownArchiveKind

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    33ef16f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    185ef7b View commit details
    Browse the repository at this point in the history
  26. Fix CI

    Add missing 'the' to the error en-US translation
    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    1c7a801 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    e9a5329 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    67394e7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3728e95 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9a15458 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    b4820a3 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    3b949eb View commit details
    Browse the repository at this point in the history
  33. Formatting

    SLASHLogin committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    0381e51 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a8a8055 View commit details
    Browse the repository at this point in the history
  35. Update compiler/rustc_codegen_llvm/src/back/archive.rs

    Co-authored-by: David Wood <agile.lion3441@fuligin.ink>
    SLASHLogin and davidtwco committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    0baac88 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    39895b0 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    caada74 View commit details
    Browse the repository at this point in the history
  38. Rollup merge of rust-lang#101005 - SLASHLogin:rustc_codegen_llvm_diag…

    …nostics, r=davidtwco
    
    Migrate rustc_codegen_llvm to SessionDiagnostics
    
    WIP: Port current implementation of diagnostics to the new SessionDiagnostics.
    
    Part of rust-lang#100717
    
    ``@rustbot`` label +A-translation
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    be0f0e1 View commit details
    Browse the repository at this point in the history
  39. Rollup merge of rust-lang#103307 - b4den:master, r=estebank

    Add context to compiler error message
    
    Changed `creates a temporary which is freed while still in use` to `creates a temporary value which is freed while still in use`.
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    54c5061 View commit details
    Browse the repository at this point in the history
  40. Rollup merge of rust-lang#103464 - JakobDegen:mir-parsing, r=oli-obk

    Add support for custom mir
    
    This implements rust-lang/compiler-team#564 . Details about the design, motivation, etc. can be found in there.
    
    r? ``@oli-obk``
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    7b4018a View commit details
    Browse the repository at this point in the history
  41. Rollup merge of rust-lang#103929 - BlackHoleFox:apple-targets-cleanup…

    …, r=petrochenkov
    
    Cleanup Apple-related code in rustc_target
    
    While working on rust-lang#103455, the consistency of the `rustc_target` code for Apple's platforms was "kind of bad." There were two "base" files (`apple_base.rs` and `apple_sdk_base.rs`) that the targets each pulled some parts out of, each and all of them were written slightly differently, and sometimes missed comments other implementations had.
    
    So to hopefully make future maintenance, like implementing rust-lang/compiler-team#556, easier, this makes all of them use similar patterns and the same target base logic everywhere instead of picking bits from both. This also has some other smaller upsides like less stringly-typed functions.
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    47f81b0 View commit details
    Browse the repository at this point in the history
  42. Rollup merge of rust-lang#104015 - alex:remove-kernel, r=oli-obk

    Remove linuxkernel targets
    
    These are not used by the actual Rust-for-Linux project, so they're mostly just confusing.
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    b436b86 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    7531c2b View commit details
    Browse the repository at this point in the history
  44. Rollup merge of rust-lang#104156 - oli-obk:autoderef, r=estebank

    Cleanups in autoderef impl
    
    Just something I noticed. Turns out the `overloaded_span` is not actually used separately from the main span, so I merged them.
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    b597dfa View commit details
    Browse the repository at this point in the history
  45. Rollup merge of rust-lang#104171 - ehuss:update-books, r=ehuss

    Update books
    
    ## nomicon
    
    1 commits in 9c73283775466d22208a0b28afcab44db4c0cc10..05532356e7a4dbea2330aabb77611f5179493bb8
    2022-09-30 07:31:22 +0900 to 2022-11-05 08:13:14 +0900
    - Fix typos and grammatical errors (rust-lang/nomicon#384)
    
    ## reference
    
    1 commits in 4ea7c5def38ac81df33a9e48e5637a82a5ac404d..9f0cc13ffcd27c1fbe1ab766a9491e15ddcf4d19
    2022-10-25 15:14:36 -0700 to 2022-10-31 04:09:16 -0700
    - Add a comma (rust-lang/reference#1289)
    
    ## book
    
    12 commits in aa5ee485bd6bd80d205da7c82fcdd776f92fdd51..3f64052c048c6def93b94a2b514ee88bba918744
    2022-10-20 16:49:55 -0400 to 2022-11-03 22:13:58 -0400
    - Upgrade to Rust 1.65
    - Upgrade to Rust 1.64
    - Upgrade to Rust 1.63
    - New ideas for the issue template to try
    - Clarify that the conditional expression is the one under discussion
    - Updates from copyedit of ch6
    - Made Option&lt;T&gt; error explanation more clear
    - Update ch06-01-defining-an-enum
    - Upgrade mdbook
    - Clarify that user1 can't be used as a whole instance. Fixes rust-lang/book#2978.
    - Fix plural and incorrect phrase. Fixes rust-lang/book#3359.
    - Updates from copyedit of ch5
    
    ## rust-by-example
    
    4 commits in 03491f33375c5a2a1661c7fa4be671fe95ce1249..2b15c0abf2bada6e00553814336bc3e2d8399097
    2022-10-21 07:30:08 -0300 to 2022-10-31 08:30:13 -0300
    - Remove --edition from src/crates/using_lib.md (rust-lang/rust-by-example#1635)
    - upgrade upload-artifact
    - Clarify Fn in fn/closures/input_parameters.md (rust-lang/rust-by-example#1634)
    - fix: erroneous white spaces in types/cast.md
    
    ## rustc-dev-guide
    
    12 commits in 51a37ad19a15709d0601afbac6581f5aea6a45da..d0dc6c97a6486f68bac782fff135086eae6d77ec
    2022-10-25 10:18:58 -0700 to 2022-11-07 16:49:22 +0200
    - trans -&gt; codegen
    - Remove implementation details
    - Update some more things and improve wording
    - Update query.md
    - replace tabs with spaces (rust-lang/rustc-dev-guide#1504)
    - align code blocks with their paragraphs
    - Fixes some typos (rust-lang/rustc-dev-guide#1502)
    - UPDATE - mention of Diagnostic derive on enums
    - trans -&gt; codegen (rust-lang/rustc-dev-guide#1500)
    - add note for err annotation formatting
    - Remove `--bless` from pre-push hook suggestion
    - Update for highfive transition.
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    057d25a View commit details
    Browse the repository at this point in the history
  46. Rollup merge of rust-lang#104184 - jyn514:rustdoc-version, r=davidtwco

    Fix `rustdoc --version` when used with download-rustc
    
    Previously, rustdoc would unconditionally report the version that *rustc* was compiled with. That showed things like `nightly-2022-10-30`, which wasn't right, since this was a `dev` build compiled from source.
    
    Fix it by changing `rustc_driver::version` to a macro expanded at invocation time.
    
    cc rust-lang#103206 (comment)
    Manishearth authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    4293f9a View commit details
    Browse the repository at this point in the history