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 14 pull requests #59141

Closed
wants to merge 51 commits into from
Closed

Commits on Mar 1, 2019

  1. Configuration menu
    Copy the full SHA
    6da206b View commit details
    Browse the repository at this point in the history
  2. appveyor: Use VS2017 for all our images

    Originally added in rust-lang#55935 to test build times, this was reverted
    in rust-lang#56201 due to a belief that it caused the exit code 259 spurious
    errors. We've since learned, however, that the 259 exit code is likely
    not related to this image update as we're getting it in a number of
    locations now.
    
    VS2017 looks like it may be required to compile LLVm in the near future,
    notably discovered by rust-lang#58408 where we attempted to update LLVM.
    alexcrichton committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    02b0085 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2019

  1. fs::copy() unix: set file mode early

    same fix as commit fb98ca7
    PR: rust-lang#58803
    
    A convenience method like fs::copy() should try to prevent pitfalls a
    normal user doesn't think about.
    
    In case of an empty umask, setting the file mode early prevents
    temporarily world readable or even writeable files,
    because the default mode is 0o666.
    
    In case the target is a named pipe or special device node, setting the
    file mode can lead to unwanted side effects, like setting permissons on
    /dev/stdout or for root setting permissions on /dev/null.
    haraldh committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    1a19c46 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2019

  1. fs::copy() set file mode early

    A convenience method like fs::copy() should try to prevent pitfalls a
    normal user doesn't think about.
    
    In case of an empty umask, setting the file mode early prevents
    temporarily world readable or even writeable files,
    because the default mode is 0o666.
    
    In case the target is a named pipe or special device node, setting the
    file mode can lead to unwanted side effects, like setting permissons on
    `/dev/stdout` or for root setting permissions on `/dev/null`.
    
    copy_file_range() returns EINVAL, if the destination is a FIFO/pipe or
    a device like "/dev/null", so fallback to io::copy, too.
    
    Fixes: rust-lang#26933
    Fixed: rust-lang#37885
    haraldh committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    5cf5832 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e8758b View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2019

  1. Configuration menu
    Copy the full SHA
    63f60b0 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2019

  1. Configuration menu
    Copy the full SHA
    0a505a7 View commit details
    Browse the repository at this point in the history
  2. review comments

    estebank committed Mar 9, 2019
    Configuration menu
    Copy the full SHA
    f690821 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2019

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

Commits on Mar 11, 2019

  1. Configuration menu
    Copy the full SHA
    ddd9898 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1034c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01e2e1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    749e9d4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c9f7a0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0ede9e6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    18b40c6 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

  1. Configuration menu
    Copy the full SHA
    6b88c90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    365d918 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7fcdb93 View commit details
    Browse the repository at this point in the history
  4. expand

    RalfJung committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    8ec8639 View commit details
    Browse the repository at this point in the history
  5. Add a test for rust-lang#10876

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    5c563f9 View commit details
    Browse the repository at this point in the history
  6. Add tests for rust-lang#26448

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    651c1ab View commit details
    Browse the repository at this point in the history
  7. Add a test for rust-lang#26619

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    d49f4f8 View commit details
    Browse the repository at this point in the history
  8. Add a test for rust-lang#44127

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    3f16518 View commit details
    Browse the repository at this point in the history
  9. Add a test for rust-lang#44255

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    ec56d6e View commit details
    Browse the repository at this point in the history
  10. Add a test for rust-lang#46101

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    776411b View commit details
    Browse the repository at this point in the history
  11. Add a test for rust-lang#55731

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    b7763af View commit details
    Browse the repository at this point in the history
  12. Add a test for rust-lang#57781

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    e3297e7 View commit details
    Browse the repository at this point in the history
  13. Add a test for rust-lang#22892

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    295b6fd View commit details
    Browse the repository at this point in the history
  14. Add a test for rust-lang#28587

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    5917d9f View commit details
    Browse the repository at this point in the history
  15. Add a test for rust-lang#26577

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    b4b8a6e View commit details
    Browse the repository at this point in the history
  16. Add a test for rust-lang#27054

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    1dea6e0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4aa5fd0 View commit details
    Browse the repository at this point in the history
  18. Ignore WASM on asm tests

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    216bee4 View commit details
    Browse the repository at this point in the history
  19. Remove invalid ASM tests

    These still fail on some architectures.
    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    57c6a0b View commit details
    Browse the repository at this point in the history
  20. Add NLL test error output

    varkor committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    d17da3a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5b3e1be View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#58743 - varkor:bulk-needstest-1, r=alexcric…

    …hton
    
    Add tests for several E-needstest issues
    
    This PR adds a number of tests for various `E-needstest` errors. These tend to have been left open for a long time and seem unlikely to be closed otherwise.
    
    Closes rust-lang#10876.
    Closes rust-lang#26448.
    Closes rust-lang#26577.
    Closes rust-lang#26619.
    Closes rust-lang#27054.
    Closes rust-lang#44127.
    Closes rust-lang#44255.
    Closes rust-lang#55731.
    Closes rust-lang#57781.
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    dca2755 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#58789 - jordanrh1:update-compiler-builtins,…

    … r=sanxiyn
    
    Update compiler_builtins to 0.1.7 to get windows/arm fix
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    38a74b8 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#58803 - haraldh:fs_copy_fix, r=alexcrichton

    fs::copy() unix: set file mode early
    
    A convenience method like fs::copy() should try to prevent pitfalls a
    normal user doesn't think about.
    
    In case of an empty umask, setting the file mode early prevents
    temporarily world readable or even writeable files,
    because the default mode is 0o666.
    
    In case the target is a named pipe or special device node, setting the
    file mode can lead to unwanted side effects, like setting permissons on
    `/dev/stdout` or for root setting permissions on `/dev/null`.
    
    copy_file_range() returns EINVAL, if the destination is a FIFO/pipe or
    a device like "/dev/null", so fallback to io::copy, too.
    
    Fixes: rust-lang#26933
    Fixed: rust-lang#37885
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    5bce584 View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#58854 - alexcrichton:update-windows, r=Mark…

    …-Simulacrum
    
    appveyor: Use VS2017 for all our images
    
    Originally added in rust-lang#55935 to test build times, this was reverted
    in rust-lang#56201 due to a belief that it caused the exit code 259 spurious
    errors. We've since learned, however, that the 259 exit code is likely
    not related to this image update as we're getting it in a number of
    locations now.
    
    VS2017 looks like it may be required to compile LLVm in the near future,
    notably discovered by rust-lang#58408 where we attempted to update LLVM.
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    91d7ab3 View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#58876 - estebank:numeric-lifetime, r=petroc…

    …henkov
    
    Parse lifetimes that start with a number and give specific error
    
    Fix rust-lang#58786.
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    4bcc150 View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#58998 - xTibor:doc_from_bytes, r=scottmcm

    Fix documentation of from_ne_bytes and from_le_bytes
    
    Copypasta mistake, the documentation of `from_ne_bytes` and `from_le_bytes` used the big-endian variant in the example snippets.
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    41136f4 View commit details
    Browse the repository at this point in the history
  28. Rollup merge of rust-lang#59056 - scottmcm:even-fewer-lifetimes, r=sf…

    …ackler
    
    Use lifetime contravariance to elide more lifetimes in core+alloc+std
    
    Sample:
    ```diff
    -    impl<'a, 'b, A: ?Sized, B: ?Sized> PartialEq<&'b mut B> for &'a mut A where A: PartialEq<B> {
    +    impl<A: ?Sized, B: ?Sized> PartialEq<&mut B> for &mut A where A: PartialEq<B> {
             #[inline]
    -        fn eq(&self, other: &&'b mut B) -> bool { PartialEq::eq(*self, *other) }
    +        fn eq(&self, other: &&mut B) -> bool { PartialEq::eq(*self, *other) }
             #[inline]
    -        fn ne(&self, other: &&'b mut B) -> bool { PartialEq::ne(*self, *other) }
    +        fn ne(&self, other: &&mut B) -> bool { PartialEq::ne(*self, *other) }
         }
    ```
    
    [I didn't know this worked](https://internals.rust-lang.org/t/why-can-you-use-different-unconstrained-lifetimes-to-implement-traits/9544/2?u=scottmcm) until recently, but since defining methods contravariantly in their lifetimes this way has worked back to Rust 1.0, we might as well take advantage of combining it with IHLE.
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    9a62ebf View commit details
    Browse the repository at this point in the history
  29. Rollup merge of rust-lang#59079 - euclio:macro-semi, r=estebank

    add suggestions to invalid macro item error
    
    r? @estebank
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    190ca5b View commit details
    Browse the repository at this point in the history
  30. Rollup merge of rust-lang#59080 - nbaksalyar:fix-llvm-codegen-doc, r=…

    …frewsxcv
    
    Fix incorrect links in librustc_codegen_llvm documentation
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    d376a55 View commit details
    Browse the repository at this point in the history
  31. Rollup merge of rust-lang#59093 - Zoxc:no-prealloc, r=michaelwoerister

    Remove precompute_in_scope_traits_hashes
    
    r? @michaelwoerister
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    c1c5fe8 View commit details
    Browse the repository at this point in the history
  32. Rollup merge of rust-lang#59101 - kenta7777:reduce-code-repetition, r…

    …=oli-obk
    
    Reduces Code Repetitions like `!n >> amt`
    
    Fixes rust-lang#49937 .
    This PR contains defining a function which operates bit inversion and reducing bit operation like `!0u128 >> (128 - size.bits())`.
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    41ac07c View commit details
    Browse the repository at this point in the history
  33. Rollup merge of rust-lang#59121 - czipperz:fix_assert_result_fromiter…

    …ater, r=Centril
    
    impl FromIterator for Result: Use assert_eq! instead of assert!
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    7174501 View commit details
    Browse the repository at this point in the history
  34. Rollup merge of rust-lang#59124 - sntdevco:master, r=Centril

    Replace assert with assert_eq
    
    Use `assert_eq!` instead of `assert!` for the tests
    pietroalbini committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    247aa67 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    781f8be View commit details
    Browse the repository at this point in the history