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 8 pull requests #67560

Merged
merged 29 commits into from
Dec 23, 2019
Merged

Rollup of 8 pull requests #67560

merged 29 commits into from
Dec 23, 2019

Commits on Dec 20, 2019

  1. Require const stability attributes on intrinsics to be able to use th…

    …em in constant contexts
    oli-obk committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    9ee16e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    032d810 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2019

  1. add partialeq and eq to cursor

    Luro02 committed Dec 22, 2019
    Configuration menu
    Copy the full SHA
    89986a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ce2384 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b677013 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71ff18f View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2019

  1. Fix ICE in mir interpretation

    oli-obk committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    056dff5 View commit details
    Browse the repository at this point in the history
  2. Remove mem::uninitalized from tests

    This purges uses of uninitialized where possible from test cases. Some
    are merely moved over to the equally bad pattern of
    MaybeUninit::uninit().assume_init() but with an annotation that this is
    "the best we can do".
    Mark-Simulacrum committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    c205f6a View commit details
    Browse the repository at this point in the history
  3. Update src/librustc_mir/interpret/place.rs

    Co-Authored-By: Ralf Jung <[email protected]>
    oli-obk and RalfJung authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    5b8df34 View commit details
    Browse the repository at this point in the history
  4. Move {hir::lowering -> hir}::is_range_literal.

    The function is never used inside lowering,
    but only ever in external crates.
    
    By moving it, we faciliate lowering as its own crate.
    Centril committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    45acee3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a5991c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b7bfdbe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5fa02ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5ab4735 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    35979a9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9a60224 View commit details
    Browse the repository at this point in the history
  11. is_range_literal: fix fallout

    Centril committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    dd7f493 View commit details
    Browse the repository at this point in the history
  12. is_range_literal: leave FIXME

    Centril committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    4bb8346 View commit details
    Browse the repository at this point in the history
  13. Fix reformatting rebase issues

    varkor committed Dec 23, 2019
    5 Configuration menu
    Copy the full SHA
    9e50813 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a08df28 View commit details
    Browse the repository at this point in the history
  15. Fix typo

    oli-obk authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    63d2822 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#67233 - Luro02:cursor_traits, r=sfackler

    Add PartialEq and Eq to Cursor
    
    closes rust-lang#67226
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    260514d View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#67466 - oli-obk:const_intrinsic, r=Centril

    Require const stability attributes on intrinsics to be able to use them in constant contexts
    
    r? @Centril
    
    finally fixes rust-lang#61495
    
    cc @RalfJung
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    1de2705 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#67507 - Mark-Simulacrum:purge-uninit, r=Cen…

    …tril
    
    Remove mem::uninitalized from tests
    
    This purges uses of uninitialized where possible from test cases. Some
    are merely moved over to the equally bad pattern of
    MaybeUninit::uninit().assume_init() but with an annotation that this is
    "the best we can do".
    
    Fixes rust-lang#62397
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    67c0f4e View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#67527 - GuillaumeGomez:results-show-too-muc…

    …h, r=kinnison
    
    Results show too much
    
    Fixes rust-lang#67461.
    
    To reproduce the current issue: search anything, then once the results appears, press escape. They should disappear then re-appear right away. This is because blurring an element triggers the "change" event.
    
    r? @kinnison
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    6f38a15 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#67536 - Centril:move-is_range_literal, r=Ma…

    …rk-Simulacrum
    
    Move `{hir::lowering -> hir}::is_range_literal`
    
    The function is never used inside lowering, but only ever in external crates.
    By moving it, we facilitate lowering as its own crate.
    
    Best read commit-by-commit.
    
    r? @Mark-Simulacrum
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    3a07f3b View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#67538 - varkor:lhs-assign-diagnostics, r=Ce…

    …ntril
    
    Improve diagnostics for invalid assignment
    
    - Improve wording and span information for invalid assignment diagnostics.
    - Link to rust-lang/rfcs#372 when it appears the user is trying a destructuring assignment.
    - Make the equality constraint in `where` clauses error consistent with the invalid assignment error.
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    4164761 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#67546 - oli-obk:slice_pattern_ice, r=varkor

    Fix ICE in mir interpretation
    
    Indices from the end start at 1 so you can immediately subtract them from the length to get the index instead of having to do an additional `-1`. Kinda documented in https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.ProjectionElem.html#variant.ConstantIndex
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    7eb025f View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#67559 - Mark-Simulacrum:drop-doc, r=RalfJung

    Document that calling Drop, even after it panics, is UB
    
    Fixes rust-lang#60822.
    
    r? @gnzlbg
    Centril authored Dec 23, 2019
    Configuration menu
    Copy the full SHA
    68a9a2d View commit details
    Browse the repository at this point in the history