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

Merged
merged 14 commits into from
Jul 2, 2021
Merged

Rollup of 7 pull requests #86817

merged 14 commits into from
Jul 2, 2021

Commits on Jun 19, 2021

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

Commits on Jun 21, 2021

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

Commits on Jul 1, 2021

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

Commits on Jul 2, 2021

  1. Configuration menu
    Copy the full SHA
    67e6a81 View commit details
    Browse the repository at this point in the history
  2. Remove & from Command::args calls in documentation

    Now that arrays implement `IntoIterator`, using
    `&` is no longer necessary. This makes examples
    easier to understand.
    KamilaBorowska committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    18715c0 View commit details
    Browse the repository at this point in the history
  3. Fix double import in wasm thread

    The `unsupported` type is imported two times, as `super::unsupported` and as `crate::sys::unsupported`, throwing an error. Remove `super::unsupported` in favor of the other.
    tversteeg committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    d3bf89b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    086eb47 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#84029 - drahnr:master, r=petrochenkov

    add `track_path::path` fn for usage in `proc_macro`s
    
    Adds a way to declare a dependency on external files without including them, to either re-trigger the build of a file as well as covering the use case of including dependencies within the `rustc` invocation, such that tools like `sccache`/`cachepot` are able to handle references to external files which are not included.
    
    Ref rust-lang#73921
    JohnTitor committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    45470a3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#85001 - CDirkx:bytestring, r=JohnTitor

    Merge `sys_common::bytestring` back into `os_str_bytes`
    
    `bytestring` contains code for correctly debug formatting a byte slice (`[u8]`). This functionality is and has historically only been used to provide the debug formatting of byte-based os-strings (on unix etc.).
    
    Having this functionality in the separate `bytestring` module was useful in the past to reduce duplication, as [when it was added](rust-lang#46798) `os_str_bytes` was still split into `sys::{unix, redox, wasi, etc.}::os_str`. However, now that is no longer the case, there is not much reason for the `bytestring` functionality to be separate from `os_str_bytes`; I don't think it is very likely that another part of std will need to handle formatting byte strings that are not os-strings in the future (everything should be `utf8`). This is why this PR merges the functionality of `bytestring` directly into the debug implementation in `os_str_bytes`.
    JohnTitor committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    fb736d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7fb3c29 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#86796 - JohnTitor:test-70703, r=jonas-schie…

    …vink
    
    Add a regression test for issue-70703
    
    Closes rust-lang#70703
    JohnTitor committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    f6ef2c8 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#86803 - xfix:remove-unnecessary-ampersand-f…

    …rom-command-args-calls, r=joshtriplett
    
    Remove & from Command::args calls in documentation
    
    Now that arrays implement `IntoIterator`, using `&` is no longer necessary. This makes examples easier to understand.
    JohnTitor committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    6107340 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#86807 - tversteeg:patch-1, r=bjorn3

    Fix double import in wasm thread
    
    The `unsupported` type is imported two times, as `super::unsupported` and as `crate::sys::unsupported`, throwing an error. Remove `super::unsupported` in favor of the other.
    
    As reported in rust-lang#86802.
    
    Fix rust-lang#86802
    JohnTitor committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    df55204 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#86813 - JohnTitor:unused-doc-comments-help,…

    … r=jackh726
    
    Add a help message to `unused_doc_comments` lint
    
    Fixes rust-lang#83492
    This adds a help message to suggest a plain comment like the E0658 error. I've yet to come up with the best message about the doc attribute but the current shouldn't harm anything.
    I was thinking of recovering in the `doc_comment_between_if_else` case, but I came to the conclusion that it unlikely happened and was an overkill.
    JohnTitor committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    1b13632 View commit details
    Browse the repository at this point in the history