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 7 pull requests #102995

Merged
merged 16 commits into from
Oct 13, 2022
Merged

Rollup of 7 pull requests #102995

merged 16 commits into from
Oct 13, 2022

Commits on Oct 4, 2022

  1. Support casting boxes to dyn*

    eholk committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    43499da View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Cast vtable type too

    eholk committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    0c47fdf View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

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

Commits on Oct 12, 2022

  1. Configuration menu
    Copy the full SHA
    9c26fec View commit details
    Browse the repository at this point in the history
  2. add test for issue 102964

    Rageking8 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    950ca0c View commit details
    Browse the repository at this point in the history
  3. fix small word dupe typos

    Rageking8 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    d1982bd View commit details
    Browse the repository at this point in the history
  4. rustdoc: merge separate .item-info CSS

    Rough timeline:
    
    * The longer `.content .item-info` selector originated in
      110e727. No reason seems to be given in
      the PR why it needed the `.content` part, but it was probably added because
      of <https://github.com/rust-lang/rust/blob/110e7270ab7b0700ce714b8b1c7e509195dea2c4/src/librustdoc/html/static/rustdoc.css#L476-L478>.
      That selector with the margin-bottom was removed when CSS containment
      was added in 8846c08.
    * `.stability` was renamed `.item-info` in
      caf6c57.
    * The selector without the `.content` was added in
      d48a39a.
    notriddle committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    f8da229 View commit details
    Browse the repository at this point in the history
  5. tidy: error if a lang feature is already present

    If a lang feature gets declared twice, like for example as
    a result of a mistake during stabilization, emit an error
    in tidy. Library features already have this logic.
    est31 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    c278700 View commit details
    Browse the repository at this point in the history
  6. Add a fixme

    eholk committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    8b2c3eb View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Rollup merge of rust-lang#102641 - eholk:dyn-star-box, r=compiler-errors

    Support casting boxes to dyn*
    
    Boxes have a pointer type at codegen time which LLVM does not allow to be transparently converted to an integer. Work around this by inserting a `ptrtoint` instruction if the argument is a pointer.
    
    r? ``@compiler-errors``
    
    Fixes rust-lang#102427
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    6755c2a View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#102836 - petrochenkov:jsonspec, r=eholk

    rustc_target: Fix json target specs using LLD linker flavors in link args
    
    Fixes rust-lang#101988 (comment) (a regression introduced by rust-lang#101988).
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    f4c9580 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#102949 - RalfJung:should-skip-this, r=Dylan…

    …-DPC
    
    should-skip-this: add missing backslash
    
    I screwed this up in rust-lang#102780.
    
    r? ``@Mark-Simulacrum``
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    3c8c997 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#102967 - Rageking8:add-test-for-issue-10296…

    …4, r=TaKO8Ki
    
    Add test for issue 102964
    
    Fixes rust-lang#102964
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    36ea7cd View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#102971 - est31:tidy_duplicate_lang_features…

    …, r=jyn514
    
    tidy: error if a lang feature is already present
    
    If a lang feature gets declared twice, like for example as a result of a mistake during stabilization, emit an error in tidy. Library features already have this logic.
    
    Inspired by a mistake done during `half_open_range_patterns` stabilization: https://github.com/rust-lang/rust/pull/102275/files#r991292215
    
    The PR requires rust-lang#102883 to be merged before CI turns green because the check is doing its job.
    
    For reviewers, I suggest [turning off whitespace changes](https://github.com/rust-lang/rust/pull/102971/files?w=1) in the diff by adding `?w=1` to the url, as a large part of the diff is just about removing one level of indentation.
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    18b1342 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#102974 - Rageking8:fix-small-word-dupe-typo…

    …s, r=JohnTitor
    
    Fix small word dupe typos
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    0ace46f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#102980 - notriddle:notriddle/content, r=Gui…

    …llaumeGomez
    
    rustdoc: merge separate `.item-info` CSS
    
    Rough timeline:
    
    * The longer `.content .item-info` selector originated in 110e727. No reason seems to be given in the PR why it needed the `.content` part, but it was probably added because of <https://github.com/rust-lang/rust/blob/110e7270ab7b0700ce714b8b1c7e509195dea2c4/src/librustdoc/html/static/rustdoc.css#L476-L478>. That selector with the margin-bottom was removed when CSS containment was added in 8846c08.
    * `.stability` was renamed `.item-info` in caf6c57.
    * The selector without the `.content` was added in d48a39a.
    JohnTitor authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    e802936 View commit details
    Browse the repository at this point in the history