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 11 pull requests #101074

Merged
merged 28 commits into from
Aug 27, 2022
Merged

Rollup of 11 pull requests #101074

merged 28 commits into from
Aug 27, 2022

Commits on Jul 27, 2022

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

Commits on Aug 21, 2022

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

Commits on Aug 23, 2022

  1. Configuration menu
    Copy the full SHA
    6a1f7af View commit details
    Browse the repository at this point in the history
  2. Simplify unicode_downloads.rs

    Reduce duplication by moving fetching logic into a dedicated function.
    est31 committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    0a6af98 View commit details
    Browse the repository at this point in the history
  3. Change hint to correct path

    est31 committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    754b3e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Remove some documentation duplicated between writeln! and write!

    `writeln!` already includes a reference to `write!` for more
    information, so remove duplicated information.
    joshtriplett committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    a788650 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c8618f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    589db1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ae937cc View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Stabilize const_ptr_offset_from.

    Stabilization has been completed [here](rust-lang#92980 (comment))
    with a FCP.
    fee1-dead committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    ad93272 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69ad634 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. rustdoc: omit start/end tags for empty item description blocks

    Related to rust-lang#100952
    
    This is definitely not a complete solution, but it does shrink
    keysyms/index.html on smithay from 620K to 516K.
    notriddle committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    e7b7f88 View commit details
    Browse the repository at this point in the history
  2. rustdoc: remove unused CSS for hidden-by-*-hider

    This CSS seems to have become obsolete with the move to `<details>` tags,
    and its corresponding JavaScript was removed in aee054d
    notriddle committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    832fd23 View commit details
    Browse the repository at this point in the history
  3. rustdoc: remove incorrect CSS selector .impl-items table td

    Fixes rust-lang#100994
    
    This selector was added in c7312fb.
    The bug can be seen at <https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls>.
    
    This rule was added to help with a `<table>` that was used for displaying the
    function signature [src] lockup. That lockup was changed in
    34bd2b8 to use flexbox instead, leaving this
    selector unused (at least, for its original purpose).
    notriddle committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    25eb52f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    20012ea View commit details
    Browse the repository at this point in the history
  5. rustdoc: remove empty extern_crates and type="text/javascript" on script

    Like rust-lang#101023, this removes an attribute with a default value.
    notriddle committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    52582d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a74f453 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2022

  1. Rollup merge of rust-lang#96240 - fee1-dead-contrib:stabilize_const_o…

    …ffset_from, r=Mark-Simulacrum
    
    Stabilize `const_ptr_offset_from`.
    
    Stabilization has been completed [here](rust-lang#92980 (comment)) with a FCP.
    
    Closes rust-lang#92980.
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    539e408 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#99784 - est31:deny_cfg_attr_crate_type_name…

    …, r=Mark-Simulacrum
    
    Make forward compatibility lint deprecated_cfg_attr_crate_type_name deny by default
    
    Turns the forward compatibility lint added by rust-lang#83744 to deprecate `cfg_attr` usage with `#![crate_type]` and `#![crate_name]` attributes into deny by default. Copying the example from rust-lang#83744:
    
    ```Rust
    #![crate_type = "lib"] // remains working
    #![cfg_attr(foo, crate_type = "bin")] // will stop working
    ```
    
    Over 8 months have passed since rust-lang#83744 was merged so I'd say this gives ample time for people to have been warned, so we can make the warning stronger. No usage was found via grep.app except for one, which was in an unmaintained code base that didn't seem to be used in the open source eco system. The crater run conducted in rust-lang#83744 also didn't show up anything.
    
    cc rust-lang#91632 - tracking issue for the lint
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    134cc2d View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#100811 - czzrr:master, r=Mark-Simulacrum

    Fix wrong compiletest filters on Windows
    
    As discussed in [rust-lang#79334](rust-lang#79334), when calling e.g.
    ```
    python x.py test src/test/ui/expr/compound-assignment/eval-order.rs
    ```
    on Windows, compiletest passes the filter `expr/compound-assignment/eval-order.rs` to libtest, which instead should be `expr\compound-assignment\eval-order.rs`, as that is the file found when collecting tests. This is what I fixed.
    
    I'm not sure how to organize a test for this. Any suggestions?
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    7214f0c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100924 - est31:closure_to_fn_ptr, r=Mark-Si…

    …mulacrum
    
    Smaller improvements of tidy and the unicode generator
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    e31bedc View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#100953 - joshtriplett:write-docs, r=Mark-Si…

    …mulacrum
    
    Update documentation for `write!` and `writeln!`
    
    rust-lang#37472 added this documentation, but it
    needs updating:
    
    - Remove some documentation duplicated between `writeln!` and `write!`
    - Update `write!` docs: can now import traits as `_` to avoid conflicts
    - Expand example to show how to implement qualified trait names
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    f4d4a40 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101018 - notriddle:notriddle/item-right-doc…

    …block-short, r=GuillaumeGomez
    
    rustdoc: omit start/end tags for empty item description blocks
    
    Related to rust-lang#100952
    
    This is definitely not a complete solution, but it does shrink keysyms/index.html on smithay from 620K to 516K.
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    6ccad25 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#101044 - notriddle:notriddle/css-hidden-by,…

    … r=jsha
    
    rustdoc: remove unused CSS for `hidden-by-*-hider`
    
    This CSS seems to have become obsolete with the move to `<details>` tags,
    and its corresponding JavaScript was removed in aee054d
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    84f5ccd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#101046 - notriddle:notriddle/table-css, r=jsha

    rustdoc: remove incorrect CSS selector `.impl-items table td`
    
    Fixes rust-lang#100994
    
    This selector was added in c7312fb. The bug can be seen at <https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls>.
    
    This rule was added to help with a `<table>` that was used for displaying the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving this selector unused (at least, for its original purpose).
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    0cad274 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101057 - cjgillot:one-fn-sig, r=compiler-er…

    …rors
    
    Merge implementations of HIR fn_decl and fn_sig.
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    aa6b750 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#101062 - notriddle:notriddle/text-javascrip…

    …t, r=GuillaumeGomez
    
    rustdoc: remove empty extern_crates and type="text/javascript" on script
    
    Like rust-lang#101023, this removes an attribute with a default value.
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    bdbbbe6 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#101063 - GuillaumeGomez:merge-duplicated-cs…

    …s, r=notriddle
    
    Merge duplicated CSS rules
    
    I used the [stylelint](https://stylelint.io/user-guide/configure) tool to check for duplicated CSS rules in order to merge them.
    
    r? `@notriddle`
    JohnTitor authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    bd89372 View commit details
    Browse the repository at this point in the history