1. 21 11月, 2018 16 次提交
  2. 20 11月, 2018 19 次提交
  3. 19 11月, 2018 5 次提交
    • B
      Auto merge of #56051 - pietroalbini:rollup, r=pietroalbini · 9e8a982a
      bors 提交于
      Rollup of 25 pull requests
      
      Successful merges:
      
       - #55562 (Add powerpc- and powerpc64-unknown-linux-musl targets)
       - #55564 (test/linkage-visibility: Ignore on musl targets)
       - #55827 (A few tweaks to iterations/collecting)
       - #55834 (Forward the ABI of the non-zero sized fields of an union if they have the same ABI)
       - #55857 (remove unused dependency)
       - #55862 (in which the E0618 "expected function" diagnostic gets a makeover)
       - #55867 (do not panic just because cargo failed)
       - #55894 (miri enum discriminant handling: Fix treatment of pointers, better error when it is undef)
       - #55916 (Make miri value visitor useful for mutation)
       - #55919 (core/tests/num: Simplify `test_int_from_str_overflow()` test code)
       - #55923 (reword #[test] attribute error on fn items)
       - #55949 (ty: return impl Iterator from Predicate::walk_tys)
       - #55952 (Update to Clang 7 on CI.)
       - #55953 (#53488 Refactoring UpvarId)
       - #55962 (rustdoc: properly calculate spans for intra-doc link resolution errors)
       - #55963 (Stress test for MPSC)
       - #55968 (Clean up some non-mod-rs stuff.)
       - #55970 (Miri backtrace improvements)
       - #56007 (CTFE: dynamically make sure we do not call non-const-fn)
       - #56011 (Replace data.clone() by Arc::clone(&data) in mutex doc.)
       - #56012 (avoid shared ref in UnsafeCell::get)
       - #56016 (Add VecDeque::resize_with)
       - #56027 (docs: Add missing backtick in object_safety.rs docs)
       - #56043 (remove "approx env bounds" if we already know from trait)
       - #56059 (Increase `Duration` approximate equal threshold to 1us)
      9e8a982a
    • K
      Rollup merge of #56059 - alexcrichton:fix-tests, r=sfackler · 8cea658b
      kennytm 提交于
      Increase `Duration` approximate equal threshold to 1us
      
      Previously this threshold when testing was 100ns, but the Windows
      documentation states:
      
      > which is a high resolution (<1us) time stamp
      
      which presumably means that we could have up to 1us resolution, which
      means that 100ns doesn't capture "equivalent" time intervals due to
      various bits of rounding here and there.
      
      It's hoped that this..
      
      Closes #56034
      8cea658b
    • P
      Rollup merge of #56043 - nikomatsakis:issue-55756-via-outlives, r=eddyb · 10565c45
      Pietro Albini 提交于
      remove "approx env bounds" if we already know from trait
      
      Alternative to https://github.com/rust-lang/rust/pull/55988 that fixes #55756 -- smaller fix that I cannot see having (correctness) repercussions beyond the test at hand, and hence better for backporting. (Famous last words, I know.)
      
      r? @EddyB
      10565c45
    • P
      Rollup merge of #56027 - Xanewok:docs-backtick, r=QuietMisdreavus · 27519c17
      Pietro Albini 提交于
      docs: Add missing backtick in object_safety.rs docs
      
      Closes #56019.
      
      r? @bjorn3
      27519c17
    • P
      Rollup merge of #56016 - scottmcm:vecdeque-resize-with, r=joshtriplett · f5dc12eb
      Pietro Albini 提交于
      Add VecDeque::resize_with
      
      This already exists on `Vec`; I'm just adding it to `VecDeque`.
      
      I wanted to resize a `VecDeque<Vec<T>>` when I didn't know `T: Clone`, so I couldn't use `.resize(n, Vec::new())`.  With this I could do `.resize_with(n, Vec::new)` instead, which doesn't need `T: Clone`.
      
      Tracking issue: https://github.com/rust-lang/rust/issues/41758
      f5dc12eb