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 #87725

Merged
merged 17 commits into from
Aug 3, 2021
Merged

Rollup of 8 pull requests #87725

merged 17 commits into from
Aug 3, 2021

Commits on Jul 30, 2021

  1. Properly find owner of closure in THIR unsafeck

    Co-authored-by: FabianWolff <[email protected]>
    LeSeulArtichaut and FabianWolff committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    1280423 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2d8519 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2021

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

Commits on Aug 2, 2021

  1. Add aarch64-apple-ios-sim as a possible target to the manifest

    This should allow rustup and similar to actually make use of this new
    target now.
    badboy committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    a43c464 View commit details
    Browse the repository at this point in the history
  2. Add convenience for handling ipv4-mapped addresses by canonicalizing …

    …them
    
    This simplifies checking common properties in an address-family-agnostic
    way since since rust-lang#86335 commits to not checking IPv4 semantics
    of IPv4-mapped addresses in the `Ipv6Addr` property methods.
    the8472 committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    a5cdff3 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Correct typo

    noproto authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    379433a View commit details
    Browse the repository at this point in the history
  2. Another one

    noproto authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    c2a809c View commit details
    Browse the repository at this point in the history
  3. Validate that naked functions are never inlined

    Reject all uses of the inline attribute on naked functions.
    
    rust-lang/rfcs#2774
    rust-lang/rfcs#2972
    npmccallum committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    157e0a0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b23de51 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#87645 - LeSeulArtichaut:issue-87414, r=oli-obk

    Properly find owner of closure in THIR unsafeck
    
    Previously, when encountering a closure in a constant, the THIR unsafeck gets invoked on the owner of the constant instead of the constant itself, producing cycles.
    Supersedes rust-lang#87492. ```@FabianWolff``` thanks for your work on that PR, I copied your test file and added you as a co-author.
    
    Fixes rust-lang#87414.
    r? ```@oli-obk```
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    345862d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#87646 - JohnTitor:fix-parser-ice, r=oli-obk

    Fix a parser ICE on invalid `fn` body
    
    Fixes rust-lang#87635
    A better fix would add a check for `fn` body on `expected_one_of_not_found` but I haven't come up with a graceful way. Any idea?
    r? ```@oli-obk``` ```@estebank```
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    f69daa2 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#87652 - npmccallum:naked_inline, r=Amanieu

    Validate that naked functions are never inlined
    
    Reject all uses of the inline attribute on naked functions.
    
    rust-lang/rfcs#2774
    rust-lang/rfcs#2972
    
    cc `@joshtriplett` `@tmiasko` `@Amanieu`
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    a14b283 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#87685 - notriddle:lazy-from-docs, r=dtolnay

    Write docs for SyncOnceCell From and Default impl
    
    Part of rust-lang#51430
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    5f4cc60 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#87693 - badboy:enable-ios-sim-target-manife…

    …st, r=Mark-Simulacrum
    
    Add `aarch64-apple-ios-sim` as a possible target to the manifest
    
    This should allow rustup and similar to actually make use of this new
    target now.
    
    r? ```@Mark-Simulacrum```
    
    Followup to rust-lang#85782
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    ebebc7a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#87708 - the8472:canonical_v6, r=dtolnay

    Add convenience method for handling ipv4-mapped addresses by canonicalizing them
    
    This simplifies checking common properties in an address-family-agnostic
    way since rust-lang#86335 commits to not checking IPv4 semantics
    of IPv4-mapped addresses in the `Ipv6Addr` property methods.
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    423a930 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b70c9dd View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#87716 - calebzulawski:master, r=workingjubilee

    Allow generic SIMD array element type
    
    Fixes the following:
    ```rust
    #[repr(simd)]
    struct V<T>([T; 4]);
    ```
    
    cc ``@workingjubilee``
    JohnTitor authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    331e78d View commit details
    Browse the repository at this point in the history