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 5 pull requests #70403

Closed
wants to merge 31 commits into from

Commits on Mar 23, 2020

  1. add missing visit_consts

    lcnr committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    513ea64 View commit details
    Browse the repository at this point in the history
  2. add missing const super folds

    lcnr committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    bda976d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7ecc8c View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Configuration menu
    Copy the full SHA
    03bb3bd View commit details
    Browse the repository at this point in the history
  2. Refactor changes

    bishtpawan committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    cd9921e View commit details
    Browse the repository at this point in the history
  3. Update tools_lints

    bishtpawan committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    10226da View commit details
    Browse the repository at this point in the history
  4. improve normalize cycle error

    lcnr committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    6c4d5d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1509160 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b31707e View commit details
    Browse the repository at this point in the history
  7. update mir opt test

    lcnr committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    11763d4 View commit details
    Browse the repository at this point in the history
  8. Implement Fuse with Option

    The former `done` flag was roughly similar to an `Option` tag, but left
    the possibity of misuse. By using a real `Option`, we can set `None`
    when the iterator is exhausted, removing any way to call it again. We
    also allow niche layout this way, so the `Fuse` may be smaller.
    
    The `FusedIterator` specialization does want to ignore the possibility
    of exhaustion though, so it uses `unsafe { intrinsics::unreachable() }`
    to optimize that branch away. The entire `Fuse` implementation is now
    isolated in its own module to contain that unsafety.
    cuviper committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    212e6ce View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. update tool_lints

    bishtpawan committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    5c65568 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5be304b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ddbdc6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9de6008 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd15b65 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7e2650 View commit details
    Browse the repository at this point in the history
  7. remove unnecessary cast

    RalfJung committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f16b491 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0bc108a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    afcb634 View commit details
    Browse the repository at this point in the history
  10. add helper method for ptr ops on Scalar; reduce unnecessary large ope…

    …rand of overflowing_signed_offset
    RalfJung committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    1d67ca0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b7db732 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7400955 View commit details
    Browse the repository at this point in the history
  13. run test only on 64bit

    lcnr committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f8e3da5 View commit details
    Browse the repository at this point in the history
  14. Update cargo.

    ehuss committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    21ecb0d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4f429c0 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#70226 - RalfJung:checked, r=oli-obk

    use checked casts and arithmetic in Miri engine
    
    This is unfortunately pretty annoying because we have to cast back and forth between `u64` and `usize` more often that should be necessary, and that cast is considered fallible.
    
    For example, should [this](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/interpret/value/enum.ConstValue.html) really be `usize`?
    
    Also, `LayoutDetails` uses `usize` for field indices, but in Miri we use `u64` to be able to also handle array indexing. Maybe methods like `mplace_field` should be suitably generalized to accept both `u64` and `usize`?
    
    r? @oli-obk Cc @eddyb
    Dylan-DPC authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    ea00fbc View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#70319 - lcnr:issue63695, r=eddyb

    correctly normalize constants
    
    closes rust-lang#70317
    
    implements rust-lang#70125 (comment)
    
    r? eddyb cc @varkor
    Dylan-DPC authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    269d688 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#70352 - bishtpawan:doc/61137-add-long-error…

    …-code-e0710, r=Dylan-DPC
    
    Add long error explanation for E0710
    
    Add long explanation for the E0710 error code
    Part of rust-lang#61137
    
    r? @GuillaumeGomez
    Dylan-DPC authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    988777f View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#70366 - cuviper:option-fuse, r=dtolnay

    Implement Fuse with Option
    
    The former `done` flag was roughly similar to an `Option` tag, but left
    the possibity of misuse. By using a real `Option`, we can set `None`
    when the iterator is exhausted, removing any way to call it again. We
    also allow niche layout this way, so the `Fuse` may be smaller.
    
    The `FusedIterator` specialization does want to ignore the possibility
    of exhaustion though, so it uses `unsafe { intrinsics::unreachable() }`
    to optimize that branch away. The entire `Fuse` implementation is now
    isolated in its own module to contain that unsafety.
    
    r? @scottmcm
    Dylan-DPC authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    a086024 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#70395 - ehuss:update-cargo, r=ehuss

    Update cargo.
    
    8 commits in 7019b3ed3d539db7429d10a343b69be8c426b576..8a0d4d9c9abc74fd670353094387d62028b40ae9
    2020-03-17 21:02:00 +0000 to 2020-03-24 17:57:04 +0000
    - Re-implement proc-macro feature decoupling. (rust-lang/cargo#8028)
    - Remove unused transitive dependencies: miniz_oxide, adler32 (rust-lang/cargo#8023)
    - Fix bug with -Zfeatures=dev_dep and `check --profile=test`. (rust-lang/cargo#8027)
    - Remove Config from CompileOptions. (rust-lang/cargo#8021)
    - Add `rustless.org` to documented blocklist. (rust-lang/cargo#7922)
    - Print colored warnings when build script panics (rust-lang/cargo#8017)
    - Do not supply --crate-version flag to rustdoc if present in RUSTDOCFLAGS (rust-lang/cargo#8014)
    - Add proc-macro to index, and new feature resolver. (rust-lang/cargo#8003)
    Dylan-DPC authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    108125a View commit details
    Browse the repository at this point in the history