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 9 pull requests #77102

Merged
merged 37 commits into from
Sep 24, 2020
Merged

Rollup of 9 pull requests #77102

merged 37 commits into from
Sep 24, 2020

Commits on Sep 19, 2020

  1. Configuration menu
    Copy the full SHA
    d4039c5 View commit details
    Browse the repository at this point in the history
  2. words

    lcnr committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    30cbc97 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. fix typo in docs and comments

    yuk1ty committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    16047d4 View commit details
    Browse the repository at this point in the history
  2. Add cfg(target_has_atomic_equal_alignment).

    This is needed for Atomic::from_mut.
    m-ou-se committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    db74e1f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e3f94d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af56ad7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54fdf54 View commit details
    Browse the repository at this point in the history
  6. Revert "Revert adding Atomic::from_mut."

    This reverts commit 5ef1db3.
    m-ou-se committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    668225d View commit details
    Browse the repository at this point in the history
  7. Gate Atomic::from_mut on cfg(target_has_atomic_equal_alignment).

    Instead of a few hardcoded cfg(target_arch = ..) like before.
    m-ou-se committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    7a04ff6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5d6f1a1 View commit details
    Browse the repository at this point in the history
  9. Record tcx.def_span instead of item.span in crate metadata

    This was missed in PR rust-lang#75465. As a result, a few places have been using
    the full body span of functions, instead of just the header span.
    Aaron1011 committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    e734733 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bcc1d56 View commit details
    Browse the repository at this point in the history
  11. bless tests

    lcnr committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    7a02ebd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9a493ce View commit details
    Browse the repository at this point in the history
  13. review

    lcnr committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    2f893e4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d9d02fa View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7e443a1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    219003b View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Update addr.rs

    I little clarification
    imbolc authored Sep 22, 2020
    Configuration menu
    Copy the full SHA
    2a40b63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    731113b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    143557e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ffd403 View commit details
    Browse the repository at this point in the history
  5. Add #[track_caller] to more panicking Cell functions

    Continuation of rust-lang#74526
    
    Adds the #[track_caller] attribute to almost all panicking Cell
    functions. The ones that borrow two Cells in their function
    body are spared, because the panic location helps pinpoint
    which of the two borrows failed. You'd need to have
    full debuginfo and backtraces enabled together with column
    info in order to be able to discern the cases.
    Column info is only available on non-Windows platforms.
    est31 committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    05c3a2b View commit details
    Browse the repository at this point in the history
  6. fixing the custom.rs

    blitzerr committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    14736ca View commit details
    Browse the repository at this point in the history
  7. Update library/std/src/net/addr.rs

    Co-authored-by: Ivan Tham <[email protected]>
    imbolc and pickfire authored Sep 22, 2020
    Configuration menu
    Copy the full SHA
    5ab714f View commit details
    Browse the repository at this point in the history
  8. Update library/std/src/net/addr.rs

    Co-authored-by: Ivan Tham <[email protected]>
    imbolc and pickfire authored Sep 22, 2020
    Configuration menu
    Copy the full SHA
    4622ceb View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. fixing the test failure

    blitzerr committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    985dff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b19b14 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#76898 - Aaron1011:fix/item-def-span, r=oli-obk

    Record `tcx.def_span` instead of `item.span` in crate metadata
    
    This was missed in PR rust-lang#75465. As a result, a few places have been using
    the full body span of functions, instead of just the header span.
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    a22eb31 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#76939 - lcnr:const-evaluatable-cont, r=oli-obk

    emit errors during AbstractConst building
    
    There changes are currently still untested, so I don't expect this to pass CI 😆
    
    It seems to me like this is the direction we want to go in, though we didn't have too much of a discussion about this.
    
    r? @oli-obk
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    98e5ee7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#76965 - fusion-engineering-forks:fix-atomic…

    …-from-mut, r=Amanieu
    
    Add cfg(target_has_atomic_equal_alignment) and use it for Atomic::from_mut.
    
    Fixes some platform-specific problems with rust-lang#74532 by using the actual alignment of the types instead of hardcoding a few `target_arch`s.
    
    r? @RalfJung
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    eaaf5d7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76993 - blitzerr:alloc-ref, r=Amanieu

    Changing the alloc() to accept &self instead of &mut self
    
    Fixes: [rust-lang#55](rust-lang/wg-allocators#55)
    
    This is the first cut. It only makes the change for `alloc` method.
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    a40d79c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76994 - yuk1ty:fix-small-typo, r=estebank

    fix small typo in docs and comments
    
    Fixed `the the` to `the`, as far as I found.
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    bcdbe79 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#77017 - GuillaumeGomez:vec-missing-examples…

    …-iter, r=Dylan-DPC
    
    Add missing examples on Vec iter types
    
    r? @Dylan-DPC
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    b763436 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#77042 - imbolc:patch-2, r=kennytm

    Improve documentation for ToSocketAddrs
    
    I little clarification
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    049ba0c View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#77047 - RalfJung:miri-dealloc, r=oli-obk

    Miri: more informative deallocation error messages
    
    Make sure we show the affected AllocId.
    
    r? @oli-obk
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    f8dec3d View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#77055 - est31:more_track_caller, r=Mark-Sim…

    …ulacrum
    
    Add #[track_caller] to more panicking Cell functions
    
    Continuation of rust-lang#74526
    
    Adds the #[track_caller] attribute to almost all panicking Cell
    functions. The ones that borrow two Cells in their function
    body are spared, because the panic location helps pinpoint
    which of the two borrows failed. You'd need to have
    full debuginfo and backtraces enabled together with column
    info in order to be able to discern the cases.
    Column info in debuginfo is only available on non-Windows platforms.
    Dylan-DPC authored Sep 23, 2020
    Configuration menu
    Copy the full SHA
    c3c03f2 View commit details
    Browse the repository at this point in the history