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

Merged
merged 32 commits into from
Jul 22, 2020
Merged

Rollup of 9 pull requests #74642

merged 32 commits into from
Jul 22, 2020

Commits on Jun 30, 2020

  1. va_args implementation for AAPCS.

    Implement the va args in codegen for AAPCS, this will be used as the
    default va_args implementation for AArch64 rather than the va_args
    llvm-ir as it currently is.
    
    Copyright (c) 2020, Arm Limited.
    JamieCunliffe committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    fc52b47 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

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

Commits on Jul 17, 2020

  1. Configuration menu
    Copy the full SHA
    5300ca3 View commit details
    Browse the repository at this point in the history
  2. refactor ty_is_non_local

    lcnr committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    1ac3713 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2020

  1. compiletest: Rewrite extract_lldb_version function

    This makes extract_lldb_version has the same version type like
    extract_gdb_version.
    
    This is technically a breaking change for rustc-dev users.
    But note that rustc-dev is a nightly component.
    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    cfa3a33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d778f32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07d56cb View commit details
    Browse the repository at this point in the history
  4. Use Option::as_deref

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    79d5cbb View commit details
    Browse the repository at this point in the history
  5. Extract closure to function

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    75caee0 View commit details
    Browse the repository at this point in the history
  6. Use subslice pattern

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    5aa33b1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5e5d816 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2bcefa8 View commit details
    Browse the repository at this point in the history
  9. Extract extract_version_range

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    99e3a3c View commit details
    Browse the repository at this point in the history
  10. Rewrite extract_llvm_version

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    60fac34 View commit details
    Browse the repository at this point in the history
  11. Rewrite extract_version_range

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    1314d31 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Apply rust-lang#66379 to *mut T as_ref

    aticu committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    40df8fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf52d5f View commit details
    Browse the repository at this point in the history
  3. review

    lcnr committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    c71b196 View commit details
    Browse the repository at this point in the history
  4. update coherence docs

    lcnr committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    cfcbca6 View commit details
    Browse the repository at this point in the history
  5. refactor and reword intra-doc link errors

    This commit refactors intra-doc link error reporting to deduplicate code
    and decouple error construction from the type of error. This greatly
    improves flexibility at each error construction site, while reducing the
    complexity of the diagnostic creation.
    
    This commit also rewords the diagnostics for clarity and style:
    
    - Diagnostics should not end in periods.
    - It's unnecessary to say "ignoring it". Since this is a warning by
      default, it's already clear that the link is ignored.
    euclio committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    7f3e2c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Remove the assert on alignment check.

    Also the alignment should only be done on general register types as
    per the AAPCS so fixed that issue.
    
    Copyright (c) 2020, Arm Limited.
    JamieCunliffe committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    8b58eb9 View commit details
    Browse the repository at this point in the history
  2. Update books

    ehuss committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    3eed7da View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. Configuration menu
    Copy the full SHA
    96225b1 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#73655 - JamieCunliffe:jamie_va-args-c, r=nikic

    va_args implementation for AAPCS.
    
    Implement the va args in codegen for AAPCS, this will be used as the
    default va_args implementation for AArch64 rather than the va_args
    llvm-ir as it currently is.
    
    This should fix the following issues:
    rust-lang#56475
    rust-lang#72579
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    dade0f1 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#73893 - ajpaverd:cfguard-stabilize, r=nikom…

    …atsakis
    
    Stabilize control-flow-guard codegen option
    
    This is the stabilization PR discussed in rust-lang#68793. It converts the `-Z control-flow-guard` debugging option into a codegen option (`-C control-flow-guard`), and changes the associated tests.
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    8afb305 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#74237 - lzutao:compiletest, r=Mark-Simulacrum

    compiletest: Rewrite extract_*_version functions
    
    This makes extract_lldb_version has the same version type like
    extract_gdb_version.
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    216ed3c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#74454 - lcnr:negative-impls, r=nikomatsakis

    small coherence cleanup
    
    r? @eddyb
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    e811e29 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#74528 - euclio:intra-link-errors, r=jyn514

    refactor and reword intra-doc link errors
    
    This commit refactors intra-doc link error reporting to deduplicate code
    and decouple error construction from the type of error. This greatly
    improves flexibility at each error construction site, while reducing the
    complexity of the diagnostic creation.
    
    This commit also rewords the diagnostics for clarity and style:
    
    - Diagnostics should not end in periods.
    - It's unnecessary to say "ignoring it". Since this is a warning by
      default, it's already clear that the link is ignored.
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    f4079ce View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#74568 - aticu:master, r=Mark-Simulacrum

    Apply rust-lang#66379 to `*mut T` `as_ref`
    
    rust-lang#66379 changed the documentation of `as_ref` on the type `*const T` and `as_mut` on the type `*mut T`, but it missed making that same change for `as_ref` on the type `*mut T`.
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    d180c79 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#74570 - spastorino:fix-prioritization-proce…

    …dures-links, r=Mark-Simulacrum
    
    Use forge links for prioritization procedure
    
    r? @Mark-Simulacrum
    
    cc @rust-lang/wg-prioritization
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    2bf5499 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#74589 - ehuss:update-books, r=ehuss

    Update books
    
    ## reference
    
    5 commits in 0ea7bc494f1289234d8800bb9185021e0ad946f0..b329ce37424874ad4db94f829a55807c6e21d2cb
    2020-07-02 15:33:04 -0700 to 2020-07-20 08:54:08 -0700
    - this '*' is unnecessary, and reduces readability (rust-lang/reference#853)
    - Tiny typo fix (rust-lang/reference#849)
    - Update const eval chapter to latest changes (rust-lang/reference#842)
    - Document #[track_caller]. (rust-lang/reference#742)
    - Document shebang restriction. (rust-lang/reference#823)
    
    ## book
    
    2 commits in 84a31397b34f9d405df44f2899ff17a4828dba18..a914f2c7e5cdb771fa465de142381a51c53b580e
    2020-07-04 10:50:18 -0500 to 2020-07-21 09:20:05 -0500
    - Change misleading wording (rust-lang/book#2399)
    - Improve wording to include Windows versions (rust-lang/book#2395)
    
    ## edition-guide
    
    3 commits in 82bec5877c77cfad530ca11095db4456d757f668..bd6e4a9f59c5c1545f572266af77f5c7a5bad6d1
    2020-06-03 08:56:02 -0500 to 2020-07-12 17:37:08 -0500
    - update guide for 1.36 and 1.37 (rust-lang/edition-guide#217)
    - Add contents for Rust 1.35 (rust-lang/edition-guide#216)
    - update edition guide for Rust 1.34 (rust-lang/edition-guide#215)
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    3de0de1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#74635 - GuillaumeGomez:fix-tooltip-pos, r=M…

    …anishearth
    
    Fix tooltip position if the documentation starts with a code block
    
    Fixes rust-lang#74321.
    
    Before:
    
    ![before](https://user-images.githubusercontent.com/3050060/88188970-cf842400-cc38-11ea-839b-37e41656837d.png)
    
    After:
    
    ![after](https://user-images.githubusercontent.com/3050060/88188981-d3b04180-cc38-11ea-8194-713ffe640d3a.png)
    
    And in case there is text, it is not being applied:
    
    ![after-witness](https://user-images.githubusercontent.com/3050060/88189009-ddd24000-cc38-11ea-9f0a-61dfd0a0cbd0.png)
    
    And on mobile it isn't needed so it's not "activated":
    
    ![Screenshot from 2020-07-22 17-17-43](https://user-images.githubusercontent.com/3050060/88194698-65bb4880-cc3f-11ea-8513-0043ccca8cfc.png)
    
    r? @rust-lang/rustdoc
    Manishearth committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    05a2466 View commit details
    Browse the repository at this point in the history