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

Merged
merged 17 commits into from
Sep 4, 2022
Merged

Rollup of 7 pull requests #101411

merged 17 commits into from
Sep 4, 2022

Commits on Sep 2, 2022

  1. Fix internal doc link

    The doc link from `DedupSortedIter` to `BTreeMap::bulk_build_from_sorted_iter` was broken when building internal documentation,
    ChrisDenton committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    3fee843 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. Configuration menu
    Copy the full SHA
    3afbc11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7714562 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69721de View commit details
    Browse the repository at this point in the history
  4. rustdoc: remove redundant mobile-sized .source nav:not(.sidebar).sub

    It's redundant because there's already a selector `.source nav.sub` with
    exactly the same margin-left at line 796.
    
    This selector was added in 1e98fb1, along
    with an identical desktop selector, but that desktop selector was removed in
    6a5f8b1 as part of a larger simplification.
    notriddle committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    3e743a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Configuration menu
    Copy the full SHA
    98f4b20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41703e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a3e169 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b328ea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    835a461 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101322 - ChrisDenton:internal-doc, r=Mark-S…

    …imulacrum
    
    Fix internal doc link
    
    The doc link from `DedupSortedIter` to `BTreeMap::bulk_build_from_sorted_iter` was broken when building internal documentation,
    
    This prevented me from building internal documentation locally:
    
    ```
    R:\Rust\rust> $env:RUSTDOCFLAGS="--document-private-items"
    R:\Rust\rust> x doc library/std --open --stage 0
    Building rustbuild
       Compiling bootstrap v0.0.0 (R:\Rust\rust\src\bootstrap)
        Finished dev [unoptimized] target(s) in 3.15s
    Documenting stage0 std (x86_64-pc-windows-msvc)
     Documenting core v0.0.0 (R:\Rust\rust\library\core)
        Finished release [optimized] target(s) in 36.42s
        Checking core v0.0.0 (R:\Rust\rust\library\core)
        Checking rustc-std-workspace-core v1.99.0 (R:\Rust\rust\library\rustc-std-workspace-core)
        Checking compiler_builtins v0.1.79
     Documenting alloc v0.0.0 (R:\Rust\rust\library\alloc)
    error: unresolved link to `BTreeMap::bulk_build_from_sorted_iter`
     --> library\alloc\src\collections\btree\dedup_sorted_iter.rs:6:15
      |
    6 | /// Used by [`BTreeMap::bulk_build_from_sorted_iter`].
      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `BTreeMap` in scope
      |
      = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
    
    error: could not document `alloc`
    ```
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    c4ea4fb View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#101385 - BartMassey-upstream:file-doc, r=th…

    …omcc
    
    updated description of File struct in std::fs
    
    I've seen several folks confused by the description of `std::fs::File` as "A reference to an open file on the filesystem." Apparently the word `reference` is sometimes taken to mean a Rust `&` reference, leading to confusion. Here's a recent representative [Reddit thread](https://www.reddit.com/r/rust/comments/x4k0lv/comment/imxu7v2/?utm_source=share&utm_medium=web2x&context=3), but I've seen this before as well.
    
    This patch changes the description to "An object providing access to an open file on the filesystem." Hopefully this is clearer.
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    8f8a36d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#101388 - compiler-errors:issue-101376, r=fe…

    …e1-dead
    
    Don't delay invalid LHS bug unless it will be covered by an error in `check_overloaded_binop`
    
    Fixes rust-lang#101376
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    dd35e2f View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101394 - CAD97:patch-3, r=Mark-Simulacrum

    Forbid mixing `System` with direct sytem allocator calls
    
    e.g. [on windows](https://github.com/rust-lang/rust/blob/dec689432fac6720b2f18101ac28a21add98b1b8/library/std/src/sys/windows/alloc.rs#L129-L178), trying to mix `System::alloc` and `HeapFree` will not work because of the extra work done to serve higher alignments.
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    723f0c4 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#101397 - notriddle:notriddle/source-nav-not…

    …-sidebar-sub, r=GuillaumeGomez
    
    rustdoc: remove redundant mobile-sized `.source nav:not(.sidebar).sub`
    
    It's redundant because there's already a selector `.source nav.sub` with exactly the same margin-left at [line 796].
    
    [line 796]: https://github.com/rust-lang/rust/blob/84f0c3f79a85329dd79a54694ff8a7f427c842e9/src/librustdoc/html/static/css/rustdoc.css#L796
    
    This selector was added in 1e98fb1, along with an identical desktop selector, but that desktop selector was removed in 6a5f8b1 as part of a larger simplification.
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    43a7438 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#101401 - mx00s:expand-const, r=fee1-dead

    Make `char::is_lowercase` and `char::is_uppercase` const
    
    Implements rust-lang#101400.
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    d9bba11 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#101407 - GuillaumeGomez:rm-duplicated-gui-t…

    …est, r=Dylan-DPC
    
    Remove duplicated test (superseeded by search-form-elements.goml)
    
    I realized it when I worked on rust-lang#101348. The checks are more complete in `search-form-elements.goml` (for example [here](https://github.com/rust-lang/rust/blob/master/src/test/rustdoc-gui/search-form-elements.goml#L12-L29)).
    
    r? `@Dylan-DPC`
    matthiaskrgr authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    cea11f5 View commit details
    Browse the repository at this point in the history