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 7 pull requests #87519

Closed
wants to merge 41 commits into from

Commits on Jul 24, 2021

  1. Configuration menu
    Copy the full SHA
    e8165e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51df26e View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2021

  1. Configuration menu
    Copy the full SHA
    ec76b6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19f30b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Configuration menu
    Copy the full SHA
    8350528 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cae1898 View commit details
    Browse the repository at this point in the history
  3. fmt

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    3f5e5d6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bfd4487 View commit details
    Browse the repository at this point in the history
  5. fmt

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    4bdfb46 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7199946 View commit details
    Browse the repository at this point in the history
  7. Relate impl

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    fe2519b View commit details
    Browse the repository at this point in the history
  8. Try to fix problem

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    3ef7997 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    25c3534 View commit details
    Browse the repository at this point in the history
  10. Fix assoc-type test

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    9ddb958 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    266efb5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b1422da View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6c5eae4 View commit details
    Browse the repository at this point in the history
  14. Fix tests

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    cdbe28e View commit details
    Browse the repository at this point in the history
  15. Moved ui test

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    5f19f12 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6b1c8d5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2b79094 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fbf78e1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    829bf1d View commit details
    Browse the repository at this point in the history
  20. Bless test

    fee1-dead committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    6821397 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    624df18 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Configuration menu
    Copy the full SHA
    b5e781a View commit details
    Browse the repository at this point in the history
  2. Revert "SGX mutex is movable"

    This reverts commit 30b82e0.
    Jethro Beekman committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    eb6f2d4 View commit details
    Browse the repository at this point in the history
  3. Add warning to SGX mutex implementation

    Jethro Beekman committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    b518dc7 View commit details
    Browse the repository at this point in the history
  4. Add explanations for why we use Variant::Struct instead of Variant::T…

    …uple for tuple structs in enums
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    c4aa735 View commit details
    Browse the repository at this point in the history
  5. bootstrap.py: remove unused git log option

    When determining which LLVM artifacts to download, bootstrap.py
    calls: `git log --author=bors --format=%H -n1 -m --first-parent --
    src/llvm-project src/bootstrap/download-ci-llvm-stamp src/version`.
    However, the `-m` option has no effect, per the `git log` help:
    
    > -m
    > This option makes diff output for merge commits to be shown in the
    > default format. -m will produce the output only if -p is given as
    > well. The default format could be changed using log.diffMerges
    > configuration parameter, which default value is separate.
    
    Accordingly, this commit removes use of the -m option in favor of
    `--no-patch`, to make clear that this command should never output
    diff information, as the SHA-1 hash is the only desired output.
    Tested using git 2.32, this does not change the
    output of the command.
    
    The motivation for this change is that some patched versions of git
    change the behavior of the `-m` flag to imply `-p`, rather than to do
    nothing unless `-p` is passed. These patched versions of git lead to
    this script not working. Google's corp-provided git is one such example.
    hudson-ayers committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    1259742 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5bff842 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38bdd0e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    66dbeb5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9629d79 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#86251 - Smittyvb:thir-tree-again, r=oli-obk

    Support -Z unpretty=thir-tree again
    
    Currently `-Z unpretty=thir-tree` is broken after some THIR refactorings. This re-implements it, making it easier to debug THIR-related issues.
    
    We have to do analyzes before getting the THIR, since trying to create THIR from invalid HIR can ICE. But doing those analyzes requires the THIR to be built and stolen. We work around this by creating a separate query to construct the THIR tree string representation.
    
    Closes rust-lang/project-thir-unsafeck#8, fixes rust-lang#85552.
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    e5aca25 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#87375 - fee1-dead:move-constness-to-traitpr…

    …ed, r=oli-obk
    
    Try filtering out non-const impls when we expect const impls
    
    **TL;DR**: Associated types on const impls are now bounded; we now disallow calling a const function with bounds when the specified type param only has a non-const impl.
    
    r? `@oli-obk`
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    d87c82e View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#87451 - GuillaumeGomez:tuple-struct-field-d…

    …oc, r=jyn514
    
    Add support for tuple struct field documentation
    
    Fixes  rust-lang#42615.
    This is rust-lang#80320 updated to new codebase and with added tests.
    Part of rust-lang#83255.
    
    cc `@camelid` (since you were involved on the original PR).
    r? `@jyn514`
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    c5e23cf View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#87488 - kornelski:track-remove, r=dtolnay

    Track caller of Vec::remove()
    
    `vec.remove(invalid)` doesn't print a helpful source position:
    
    > thread 'main' panicked at 'removal index (is 99) should be < len (is 1)', **library/alloc/src/vec/mod.rs:1379:13**
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    1305f88 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#87501 - spastorino:remove-min-tait, r=oli-obk

    Remove min_type_alias_impl_trait in favor of type_alias_impl_trait
    
    r? `@oli-obk`
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    d65d9b2 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#87507 - jethrogb:jb/sgx-unmoveable-mutex, r…

    …=dtolnay
    
    SGX mutex is *not* moveable
    
    Reverts the erroneous change in rust-lang#85029.
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    e6f2050 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#87513 - hudson-ayers:bootstrap-py-fix, r=jy…

    …n514
    
    bootstrap.py: change `git log` option to indicate desired behavior
    
    When determining which LLVM artifacts to download, bootstrap.py calls: `git log --author=bors --format=%H -n1 -m --first-parent --
    src/llvm-project src/bootstrap/download-ci-llvm-stamp src/version`. However, the `-m` option has no effect, per the `git log` help:
    
    > -m
    > This option makes diff output for merge commits to be shown in the
    > default format. -m will produce the output only if -p is given as
    > well. The default format could be changed using log.diffMerges
    > configuration parameter, which default value is separate.
    
    Accordingly, this commit removes use of the -m option in favor of ~~`--diff-merges=off`~~ `--no-patch`, since no diff information is needed, and in fact the presence of a diff breaks the command. Tested using git 2.32, this does not change the output of the command.
    
    The motivation for this change is that some patched versions of git change the behavior of the `-m` flag to imply `-p`, rather than to do nothing unless `-p` is passed. These patched versions of git lead to this script not working. Google's corp-provided git is one such example.
    GuillaumeGomez committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    dcd8e8e View commit details
    Browse the repository at this point in the history