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

Closed
wants to merge 34 commits into from

Commits on May 28, 2020

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

Commits on Jun 11, 2020

  1. Configuration menu
    Copy the full SHA
    93cbad6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec63f9d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1243db View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. Configuration menu
    Copy the full SHA
    b60cefe View commit details
    Browse the repository at this point in the history
  2. Restore some write_fmts

    Lucretiel committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    14d385b View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Prepare for LLVM 11

    cuviper committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    49f6166 View commit details
    Browse the repository at this point in the history
  2. errors: use -Z terminal-width in JSON emitter

    This commit makes the JSON emitter use `-Z terminal-width` in the
    "rendered" field of the JSON output.
    
    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    3678e5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89e2c1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0438e25 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8660621 View commit details
    Browse the repository at this point in the history
  6. MIR const-checking

    ecstatic-morse committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    23a907e View commit details
    Browse the repository at this point in the history
  7. HIR const-checking

    ecstatic-morse committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    ff0096d View commit details
    Browse the repository at this point in the history
  8. Update tests

    ecstatic-morse committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    edd4b36 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    23d93c3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    088d036 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e0d6ad2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    839f9c0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    984e536 View commit details
    Browse the repository at this point in the history
  14. Update tests

    ecstatic-morse committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    8fe1b1d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    63078c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. Configuration menu
    Copy the full SHA
    a4e7b47 View commit details
    Browse the repository at this point in the history
  2. more LocalDefId in ty::context

    lcnr committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    1875c79 View commit details
    Browse the repository at this point in the history
  3. more LocalDefId cleanup

    lcnr committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    2d280a5 View commit details
    Browse the repository at this point in the history
  4. fix typo in self-profile.md

    atetubou authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    9308860 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d25d6c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8e8c54a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#72437 - ecstatic-morse:stabilize-const-if-m…

    …atch, r=oli-obk
    
    Stabilize `#![feature(const_if_match)]`
    
    Quoting from the [stabilization report](rust-lang#49146 (comment)):
    
    > `if` and `match` expressions as well as the short-circuiting logic operators `&&` and `||` will become legal in all [const contexts](https://doc.rust-lang.org/reference/const_eval.html#const-context). A const context is any of the following:
    >
    > - The initializer of a `const`, `static`, `static mut` or enum discriminant.
    > - The body of a `const fn`.
    > - The value of a const generic (nightly only).
    > - The length of an array type (`[u8; 3]`) or an array repeat expression (`[0u8; 3]`).
    >
    > Furthermore, the short-circuiting logic operators will no longer be lowered to their bitwise equivalents (`&` and `|` respectively) in `const` and `static` initializers (see rust-lang#57175). As a result, `let` bindings can be used alongside short-circuiting logic in those initializers.
    
    Resolves rust-lang#49146.
    
    Ideally, we would resolve 🐳 rust-lang#66753 before this lands on stable, so it might be worth pushing this back a release. Also, this means we should get the process started for rust-lang#52000, otherwise people will have no recourse except recursion for iterative `const fn`.
    
    r? @oli-obk
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    6fc1714 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#72705 - Lucretiel:stdio-forwarding, r=Amanieu

    Added io forwarding methods to the stdio structs
    
    Added methods to forward the `io::Read` and `io::Write` methods of the myriad wrapper structs in `stdio.rs` to their underlying readers / writers. This is especially important for the structs on the outside of a locking boundary, to ensure that the lock isn't being dropped and re-acquired in a loop.
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    e5343ec View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#73243 - poliorcetics:discourage-is-file, r=…

    …Amanieu
    
    Add documentation to point to `File::open` or `OpenOptions::open` instead of `is_file` to check read/write possibility
    
    Fixes rust-lang#64170.
    
    This adds documentation to point user towards `!is_dir` instead of `is_file` when all they want to is read from a source.
    
    I ran `rg "fn is_file\("` to find all `is_file` methods, I hope I did not miss one.
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    d31b8ba View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#73525 - cuviper:llvm11, r=nikic

    Prepare for LLVM 11
    
    These are just the code changes needed to build with the current LLVM master (version 11).
    
    r? @nikic
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    4b307b2 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#73763 - davidtwco:terminal-width-json-emitt…

    …er, r=estebank
    
    errors: use `-Z terminal-width` in JSON emitter
    
    This PR makes the JSON emitter use `-Z terminal-width` in the "rendered" field of the JSON output.
    
    r? @estebank
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    23c8bc4 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#73796 - lcnr:LocalDefId, r=matthewjasper

    replace more `DefId`s with `LocalDefId`
    
    part of rust-lang#70853
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    01ed6ef View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#73797 - atetubou:patch-1, r=jonas-schievink

    fix typo in self-profile.md
    Dylan-DPC authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    c6c0515 View commit details
    Browse the repository at this point in the history