1. 23 6月, 2019 31 次提交
  2. 22 6月, 2019 9 次提交
    • B
      Auto merge of #61020 - HeroicKatora:master, r=matthewjasper · 4a365a29
      bors 提交于
      librustc_data_structures: Speedup union of sparse and dense hybrid set
      
      This optimization speeds up the union of a hybrid bitset when that
      switches it from a sparse representation to a dense bitset. It now
      clones the dense bitset and integrate only the spare elements instead of
      densifying the sparse bitset, initializing all elements, and then a
      union on two dense bitset, touching all words a second time.
      
      It's not completely certain if the added complexity is worth it but I would
      like to hear some feedback in any case. Benchmark results from my machine:
      
      ```
      Now:  bit_set::union_hybrid_sparse_to_dense ... bench:          72 ns/iter (+/- 5)
      Previous: bit_set::union_hybrid_sparse_to_dense ... bench:          90 ns/iter (+/- 6)
      ```
      
      This being the second iteration of trying to improve the speed, since I missed the return value in the first, and forgot to run the relevant tests. Oops.
      4a365a29
    • B
      Auto merge of #62024 - RalfJung:miri, r=oli-obk · d4d5d67c
      bors 提交于
      update miri
      
      r? @oli-obk
      d4d5d67c
    • R
      update miri · a1e954e8
      Ralf Jung 提交于
      a1e954e8
    • B
      Auto merge of #62010 - ecstatic-morse:kill-borrows-of-proj, r=pnkfelix · 305930cf
      bors 提交于
      Kill conflicting borrows of places with projections.
      
      Resolves #62007.
      
      Due to a bug, the previous version of this check did not actually kill all conflicting borrows unless the borrowed place had no projections. Specifically, `sets.on_entry` will always be empty when `statement_effect` is called. It does not contain the set of borrows which are live at this point in the program.
      
      @pnkfelix describes why this was not caught before in #62007, and created an example where the current borrow checker failed unnecessarily. This PR adds their example as a test, but they will likely want to add some additional ones.
      
      r? @pnkfelix
      305930cf
    • B
      Auto merge of #62041 - Centril:rollup-95eeyx7, r=Centril · e562b24a
      bors 提交于
      Rollup of 9 pull requests
      
      Successful merges:
      
       - #60971 (Add DocFS layer to rustdoc)
       - #61146 (SliceConcatExt::connect defaults to calling join)
       - #61181 (Fix theme-checker failure)
       - #61267 (rustc-book: Update the rustc/clang compatibility table for xLTO.)
       - #61270 (Remove warnings about incr. comp. generating less debugging output.)
       - #61681 (Changed the error message to more clearly explain what is allowed)
       - #61984 (More NodeId pruning)
       - #62016 (Add test for issue-27697)
       - #62019 (Remove needless lifetimes)
      
      Failed merges:
      
      r? @ghost
      e562b24a
    • M
      Rollup merge of #62019 - jeremystucki:refactoring, r=estebank · 64e58183
      Mazdak Farrokhzad 提交于
      Remove needless lifetimes
      64e58183
    • M
      Rollup merge of #62016 - JohnTitor:add-test-for-issue-27697, r=alexcrichton · 595f55cb
      Mazdak Farrokhzad 提交于
      Add test for issue-27697
      
      Closes #27697
      595f55cb
    • M
      Rollup merge of #61984 - ljedrz:more_node_id_pruning, r=Zoxc · dc0ef823
      Mazdak Farrokhzad 提交于
      More NodeId pruning
      
      Just another round of the `HirId`ification initiative.
      
      r? @Zoxc
      dc0ef823
    • M
      Rollup merge of #61681 - asfreitas:addSendTrait, r=estebank · 9eb88f3b
      Mazdak Farrokhzad 提交于
      Changed the error message to more clearly explain what is allowed
      
      This is in regard to #61634. I changed the language to make it more clear what is allowed.
      9eb88f3b