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

Merged
merged 18 commits into from
Oct 2, 2021
Merged

Rollup of 7 pull requests #89449

merged 18 commits into from
Oct 2, 2021

Commits on May 12, 2021

  1. Clarified the attribute which prompts the warning

    The example call was lacking clarification of the  `#![warn(rustdoc::invalid_codeblock_attributes)]` attribute which generates the specified warning.
    simbleau authored May 12, 2021
    Configuration menu
    Copy the full SHA
    b65bad9 View commit details
    Browse the repository at this point in the history
  2. Clarified all attributes which prompt warnings

    All calls which trigger rustdoc warnings and are now properly verbose for consistency. This uses the attribute in the examples which provides the user with more context.
    simbleau authored May 12, 2021
    Configuration menu
    Copy the full SHA
    2b27c82 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2021

  1. Noted necessessity and fixed rustdoc:: prefix

    Now shows that certain warnings are unnecessary but includes them for consistency.
    simbleau authored May 16, 2021
    Configuration menu
    Copy the full SHA
    d7884d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a7bb2b View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2021

  1. correct ARM+MUSL notes

    - use "with MUSL" style where applicable
    - add "hardfloat" suffix for "armv7-unknown-linux-musleabihf"
    oliverbr authored Sep 11, 2021
    Configuration menu
    Copy the full SHA
    20f236c View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

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

Commits on Sep 29, 2021

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

Commits on Oct 1, 2021

  1. Configuration menu
    Copy the full SHA
    1a79644 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68b76a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3792be6 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#85223 - simbleau:master, r=steveklabnik

    rustdoc: Clarified the attribute which prompts the warning
    
    The example call was lacking clarification of the  `#![warn(rustdoc::invalid_codeblock_attributes)]` attribute which generates the specified warning.
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    eedc76d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#88847 - oliverbr:master, r=steveklabnik

    platform-support.md: correct ARMv7+MUSL platform triple notes
    
    This PR fixes two minor inconsistencies in the platform support list.
    
    - use "with MUSL" suffix for "armv7-unknown-linux-musleabi"
    - add "hardfloat" suffix for "armv7-unknown-linux-musleabihf"
    
    r? `@steveklabnik`
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    2bab0a0 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#88963 - fee1-dead:const-iterator, r=oli-obk

    Coerce const FnDefs to implement const Fn traits
    
    You can now pass a FnDef to a function expecting `F` where `F: ~const FnTrait`.
    
    r? ``@oli-obk``
    
    ``@rustbot`` label T-compiler F-const_trait_impl
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    743e842 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#89376 - andjo403:selfProfileUseAfterDropFix…

    …, r=Mark-Simulacrum
    
    Fix use after drop in self-profile with llvm events
    
    self-profile with `-Z self-profile-events=llvm` have failed with a segmentation fault due to this use after drop.
    this type of events can be more useful now that the new passmanager is the default.
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    1781e4b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89422 - GuillaumeGomez:doctest-whitespace-n…

    …ame, r=CraftSpider
    
    Replace whitespaces in doctests' name with dashes
    
    Fixes rust-lang#88263.
    
    Instead of handling white spaces when we filter tests (which would be quite complicated since we split on them!), I propose to instead replace them with dashes.
    
    So for example, this:
    
    ```console
    test foo.rs - Iter2<T, P>::len (line 13) ... ok
    test foo.rs - Iter<T, P>::len (line 4) ... ok
    ```
    
    becomes:
    
    ```console
    test foo.rs - Iter<T,-P>::len (line 4) ... ok
    test foo.rs - Iter2<T,-P>::len (line 13) ... ok
    ```
    
    r? `@jyn514`
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    04ba153 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#89440 - chrismit3s:issue-84488-fix, r=steve…

    …klabnik
    
    Clarify a sentence in the documentation of Vec (rust-lang#84488)
    
     I literally changed a single word, but this should clear up the confusion of rust-lang#84488. Can probably be `rollup`ed :) (My first PR, hope I'm doing this right)
    
    fixes rust-lang#84488
    
    r? `@steveklabnik`
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b458ecf View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#89441 - Nadrieril:fix-89393, r=tmandry

    Normalize after substituting via `field.ty()`
    
    Back in rust-lang#72476 I hadn't understood where the problem was coming from, and only worked around the issue. What happens is that calling `field.ty()` on a field of a generic struct substitutes the appropriate generics but doesn't normalize the resulting type.
    As a consumer of types I'm surprised that one would substitute without normalizing, feels like a footgun, so I added a comment.
    
    Fixes rust-lang#89393.
    Manishearth authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    5ab1245 View commit details
    Browse the repository at this point in the history