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

Closed
wants to merge 26 commits into from
Closed

Commits on Apr 19, 2020

  1. add a few more DefKinds

    make Map::def_kind take LocalDefId
    
    Co-Authored-By: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
    
    crates are DefKind::Mod
    mark-i-m committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    3ac26f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fba38a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a764b9 View commit details
    Browse the repository at this point in the history
  4. Tweak descr for AnonConst and fix article for Use and `Extern…

    …Crate`.
    eddyb authored and mark-i-m committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    850ddd7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    72a8534 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

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

Commits on Apr 21, 2020

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

Commits on Apr 22, 2020

  1. Let compiletest recognize gdb 10.x

    git gdb has moved to version 10.  My build prints this as its
    --version:
    
        GNU gdb (GDB) 10.0.50.20200420-git
    
    Unfortunately this conflicts with this comment in compiletest:
    
        // We limit major to 1 digit, otherwise, on openSUSE, we parse the openSUSE version
    
    This patch changes the version parsing to follow the GNU coding
    standard, which accounts for both the openSUSE case as well as
    handling gdb 10.
    
    My debuginfo test run now says:
    
    NOTE: compiletest thinks it is using GDB with native rust support
    NOTE: compiletest thinks it is using GDB version 10000050
    
    ... where previously it failed to find that gdb 10 had rust support.
    tromey committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    37097fb View commit details
    Browse the repository at this point in the history
  2. Fix compiletest version-parsing tests

    The compiletest version-parsing tests failed after the previous patch.
    However, I don't believe these tests are correct, in that I don't
    think RHEL or CentOS ever put the gdb version number into parentheses.
    Instead they display like:
    
        GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
    tromey committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    90b4a97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f106b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61831ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    99de372 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e97c227 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Configuration menu
    Copy the full SHA
    2274b4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12102db View commit details
    Browse the repository at this point in the history
  3. Fix rustfmt bug

    rustfmt will (apparently) eat raw identifiers inside macros when formatting.
    This prevents that.
    Mark-Simulacrum committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    986e55a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3c26de View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#70043 - mark-i-m:def-kind-more, r=eddyb

    Add all remaining `DefKind`s.
    
    r? @eddyb or @Centril
    
    ~~I'm not sure if this is what you were thinking of. There are also a few places where I'm not sure what the correct choice is because I don't fully understand the meaning of some variants.~~
    
    ~~In general, it feels a bit odd to add some of these as `DefKind`s (e.g. `Arm`) because they don't feel like definitions. Are there things that it makes sense not to add?~~
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    6013c23 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#71364 - Amanieu:zprofile_compiler_builtins,…

    … r=cramertj
    
    Ignore -Zprofile when building compiler_builtins
    
    rust-lang#70846 made the `compiler_builtins` crate ignore the default codegen-units setting and instead always split each function into a different codegen unit.
    
    This unfortunately breaks `-Zprofile` which requires a single codegen unit per crate (see rust-lang#71283). You can notice this when building with `cargo -Zbuild-std` and `RUSTFLAGS` containing `-Zprofile`.
    
    This PR works around this issue by just ignoring `-Zprofile` for the `compiler-builtins` crate.
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    40d0e6f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#71396 - DeeDeeG:improve-e0308-again, r=este…

    …bank
    
    Improve E0308 error message wording again
    
    Hello again,
    
    I recently did this PR: rust-lang#70242
    
    I felt the error message could be further improved, so I made [a post on the Rust community forum](https://users.rust-lang.org/t/looking-for-feedback-on-an-improved-error-message-for-e0308/40004) to ask for feedback.
    
    (Also, there were some comments on my original PR that I took into consideration as well.)
    
    This PR is my attempt to take all the feedback into account and propose a better and simplified error message that should still be accurate. Its main benefit is having simpler grammar, and hopefully being easier to read and understand.
    
    Thanks to everyone who commented and gave feedback, and thank you for taking a look at this PR.
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    1a25f27 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#71428 - tromey:gdb-10-parsing, r=tromey

    Let compiletest recognize gdb 10.x
    
    git gdb has moved to version 10.  My build prints this as its
    --version:
    
        GNU gdb (GDB) 10.0.50.20200420-git
    
    Unfortunately this conflicts with this comment in compiletest:
    
        // We limit major to 1 digit, otherwise, on openSUSE, we parse the openSUSE version
    
    This patch changes the version parsing to follow the GNU coding
    standard, which accounts for both the openSUSE case as well as
    handling gdb 10.
    
    My debuginfo test run now says:
    
    NOTE: compiletest thinks it is using GDB with native rust support
    NOTE: compiletest thinks it is using GDB version 10000050
    
    ... where previously it failed to find that gdb 10 had rust support.
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    e5f309a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#71434 - pietroalbini:shrink-gha-config, r=M…

    …ark-Simulacrum
    
    Shrink GHA configuration
    
    This shrinks our GHA configuration by [taking advantage of two new features GitHub just announced](https://github.blog/2020-04-22-github-actions-community-momentum-enterprise-capabilities-and-developer-improvements/):
    
    * [Default values for `steps[].shell`](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun)
    * [Being able to include values in a matrix without having to duplicate the job names.](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations)
    
    The configuration should be functionally equivalent to the previous one.
    
    r? @Mark-Simulacrum
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    f20893b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#71439 - Mark-Simulacrum:stage0-next, r=jona…

    …s-schievink
    
    Bump bootstrap compiler
    
    This bumps the bootstrap compiler and the rustfmt that x.py fmt uses.
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    6f18ad5 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#71446 - Amanieu:transmute_copy, r=sfackler

    Only use read_unaligned in transmute_copy if necessary
    
    I've noticed that this causes LLVM to generate poor code on targets that don't support unaligned memory accesses.
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    9ba70a9 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#71452 - ecstatic-morse:no-more-snapshot, r=…

    …RalfJung
    
    Remove outdated reference to interpreter snapshotting
    
    This should have been a part of rust-lang#70087.
    
    r? @RalfJung
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    c7e2617 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#71454 - ecstatic-morse:inline-core-ptr-docs…

    …, r=RalfJung
    
    Inline some function docs in `core::ptr`
    
    Resolves rust-lang#64539.
    JohnTitor authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    e20df27 View commit details
    Browse the repository at this point in the history