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 6 pull requests #103247

Closed
wants to merge 17 commits into from
Closed

Commits on Sep 27, 2022

  1. Change process spawning to inherit the parent's signal mask by default

    Previously, the signal mask is always reset when a child process is
    started. This breaks tools like `nohup` which expect `SIGHUP` to be
    blocked.
    
    With this change, the default behavior changes to inherit the signal mask.
    
    This also changes the signal disposition for `SIGPIPE` to only be
    changed if the `#[unix_sigpipe]` attribute isn't set.
    sunshowers committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    49166fb View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Stabilize proc_macro::Span::source_text

    Splits proc_macro::Span::source_text into a new feature gate and stabilizes it.
    est31 committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    d89fb1d View commit details
    Browse the repository at this point in the history
  2. rustdoc: remove class name location from sidebar sibling nav

    This change tweaks the CSS to apply most of its styles to `.sidebar h2`,
    cleaning up a few redundant rules from `.mobile-topbar .location` and
    restoring useful navigation aids in mobile mode.
    notriddle committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    a01b885 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Allow specifying multiple alternative suggestions

    This allows porting uses of span_suggestions() to diagnostic structs.
    
    Doesn't work for multipart_suggestions() because the rank would be
    reversed - the struct would specify multiple spans, each of which has
    multiple possible replacements, while multipart_suggestions() creates
    multiple possible replacements, each with multiple spans.
    Xiretza committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    d96b68f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffe24e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    afccb65 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e60016e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ead96f7 View commit details
    Browse the repository at this point in the history
  6. Add test.

    m-ou-se committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    a44a22d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5420fa3 View commit details
    Browse the repository at this point in the history
  8. Allow #[unstable] impl for fn() -> UnstableType.

    (But not fn() -> !, which is stable.)
    m-ou-se committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    c4f829b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101077 - sunshowers:signal-mask-inherit, r=…

    …thomcc
    
    Change process spawning to inherit the parent's signal mask by default
    
    Previously, the signal mask was always reset when a child process is
    started. This breaks tools like `nohup` which expect `SIGHUP` to be
    blocked for all transitive processes.
    
    With this change, the default behavior changes to inherit the signal mask.
    
    This also changes the signal disposition for `SIGPIPE` to only be changed if the `#[unix_sigpipe]` attribute isn't set.
    Dylan-DPC committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    021551b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#103197 - est31:stabilize_proc_macro_source_…

    …text, r=petrochenkov
    
    Stabilize proc_macro::Span::source_text
    
    Splits `proc_macro::Span::source_text` into a new feature gate and stabilizes it. The [FCP is complete](rust-lang#101991 (comment)).
    
    ```Rust
    impl Span {
        pub fn source_text(&self) -> Option<String>;
    }
    ```
    
    Closes rust-lang#101991
    Dylan-DPC committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    3d429d8 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#103209 - Xiretza:multiple-suggestions, r=da…

    …vidtwco
    
    Diagnostic derives: allow specifying multiple alternative suggestions
    
    This allows porting `span_suggestions()` to diagnostic structs.
    
    Doesn't work for `multipart_suggestions()` because the rank would be reversed - the struct would specify multiple spans, each of which has multiple possible replacements, while `multipart_suggestions()` creates multiple possible replacements, each with multiple spans.
    Dylan-DPC committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    003f7e3 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#103211 - notriddle:notriddle/dot-location, …

    …r=GuillaumeGomez
    
    rustdoc: remove class name `location` from sidebar sibling nav
    
    Preview: https://notriddle.com/notriddle-rustdoc-demos/sidebar-location/std/vec/struct.Vec.html
    
    This change tweaks the CSS to apply most of its styles to `.sidebar h2`, cleaning up a few redundant rules from `.mobile-topbar .location` and restoring useful navigation aids in mobile mode.
    
    ## Before
    
    ![location-before](https://user-images.githubusercontent.com/1593513/196521014-d8730830-c3a2-4ed7-9266-05454cd31e05.png)
    
    ## After
    
    ![location-after](https://user-images.githubusercontent.com/1593513/196521020-75ec1fa5-b3dc-4c5d-97b6-afccb5fbe00a.png)
    Dylan-DPC committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    5e4c91a View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#103237 - GuillaumeGomez:codeblock-tooltip-c…

    …leanup, r=notriddle
    
    Clean up codeblock-tooltip rustdoc-gui test
    
    r? `@notriddle`
    Dylan-DPC committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    ddcdd28 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#103239 - m-ou-se:unstable-abi-fn-impl-check…

    …, r=lcnr
    
    Allow #[unstable] impls for fn() with unstable abi.
    
    This allows `#[unstable]` trait impls for `extern "unwind-C" fn()`, based on the fact that that abi and therefore that type is unstable.
    
    See rust-lang#101263 (comment)
    Dylan-DPC committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    611360f View commit details
    Browse the repository at this point in the history