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

Merged
merged 25 commits into from
Jan 26, 2023
Merged

Rollup of 9 pull requests #107309

merged 25 commits into from
Jan 26, 2023

Commits on Jan 15, 2023

  1. Tweak E0597

    estebank committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    656db98 View commit details
    Browse the repository at this point in the history
  2. Fix fulldeps-ui tests

    estebank committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    e4f61af View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    be2ec32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6111e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b8251e View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Configuration menu
    Copy the full SHA
    e1f630f View commit details
    Browse the repository at this point in the history
  2. Add rustc_on_unimplemented on Sync for cell types

    Suggest using a lock instead.
    Noratrieb committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    6d0c91f View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Add hint for missing lifetime bound on trait object when type alias i…

    …s used
    yanchen4791 committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    62a1e76 View commit details
    Browse the repository at this point in the history
  2. Bring tests back into rustc source tarball

    They were missing after recent move from src/test to tests.
    tmiasko committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    7f5ce94 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. rustdoc: rearrange HTML in primitive reference links

    This patch avoids hard-to-click single character links by making
    the generic part of the link:
    
    Before: <a href="#">&</a>T
    
    After: <a href="#">&T</a>
    notriddle committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    e65b361 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6e93e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad73936 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11a94f2 View commit details
    Browse the repository at this point in the history
  5. implement builtin candidate

    BoxyUwU committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    430dab0 View commit details
    Browse the repository at this point in the history
  6. sorry erica

    BoxyUwU committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    2f924b0 View commit details
    Browse the repository at this point in the history
  7. no without_constness

    BoxyUwU committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    a418e39 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Rollup merge of rust-lang#105345 - yanchen4791:issue-103582-fix, r=ja…

    …ckh726
    
    Add hint for missing lifetime bound on trait object when type alias is used
    
    Fix issue rust-lang#103582.
    
    The problem: When a type alias is used to specify the return type of the method in a trait impl, the suggestion for fixing the problem of "missing lifetime bound on trait object" of the trait impl will not be created. The issue caused by the code which searches for the return trait objects when constructing the hint suggestion is not able to find the trait objects since they are specified in the type alias path instead of the return path of the trait impl.
    
    The solution: Trace the trait objects in the type alias path and provide them along with the alias span to generate the suggestion in case the type alias is used in return type of the method in the trait impl.
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    f21728f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e3f330 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#106944 - Nilstrieb:there-once-was-a-diagnos…

    …tic, r=WaffleLapkin
    
    Suggest using a lock for `*Cell: Sync` bounds
    
    I mostly did this for `OnceCell<T>` at first because users will be confused to see that the `OnceCell<T>` in `std` isn't `Sync` but then extended it to `Cell<T>` and `RefCell<T>` as well.
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    22e62a4 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#107239 - tmiasko:tests, r=Mark-Simulacrum

    Bring tests back into rustc source tarball
    
    They were missing after recent move from src/test to tests.
    
    cc ```@albertlarsan68```
    
    Fixes rust-lang#107081
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    b7baa9f View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#107244 - notriddle:notriddle/primitive-refe…

    …rence-link, r=GuillaumeGomez
    
    rustdoc: rearrange HTML in primitive reference links
    
    This patch avoids hard-to-click single character links by making the generic part of the link:
    
    Before: <a href="#">&</a>T
    
    After: <a href="#">&T</a>
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    2ed3639 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#107255 - lcnr:implied-b-hr, r=oli-obk

    add test where we ignore hr implied bounds
    
    r? types
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    c20e0da View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#107256 - JakobDegen:delete-sai, r=cjgillot

    Delete `SimplifyArmIdentity` and `SimplifyBranchSame` mir opts
    
    I had attempted to fix the first of these opts in rust-lang#94177 . However, despite that PR already being a full re-write, it still did not fix some of the core soundness issues. The optimizations that are attempted here are likely to be desirable, but I do not expect any of the currently written code to survive into a sound implementation. Deleting the code keeps us from having to maintain the passes in the meantime.
    
    Closes rust-lang#77359 , closes rust-lang#72800 , closes rust-lang#78628
    
    r? ```@cjgillot```
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    c2f46df View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#107266 - kadiwa4:source_viewer_scrollbar, r…

    …=notriddle
    
    rustdoc: prohibit scroll bar on source viewer in Safari
    
    Fixes rust-lang#106455.
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    f268c7b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#107282 - BoxyUwU:erica_builtin_pointee_impl…

    …s, r=compiler-errors
    
    erica solver: implement builtin `Pointee` trait impl candidates
    
    r? ```@compiler-errors```
    matthiaskrgr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    a20b86f View commit details
    Browse the repository at this point in the history