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

Merged
merged 20 commits into from
Jun 29, 2021
Merged

Rollup of 7 pull requests #86704

merged 20 commits into from
Jun 29, 2021

Commits on Jun 22, 2021

  1. Add support for OpenSSL 3.0.0

    This updates the `openssl` and `openssl-sys` crates to support building
    the toolchain with system libraries up to OpenSSL 3.0.0. This does not
    affect the static version used via `openssl-src` in CI builds.
    
    ref: sfackler/rust-openssl#1264
    cuviper committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    7c7fcb2 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2021

  1. Configuration menu
    Copy the full SHA
    bf0da44 View commit details
    Browse the repository at this point in the history
  2. Add explain_reason: false in future_incompatible.

    This allows supressing the default warning message for future
    incompatible ints, for lints that already provide a more detailed
    warning.
    m-ou-se committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    7f4e343 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    934e605 View commit details
    Browse the repository at this point in the history
  4. Add explain_reason: false in future_incompatible.

    This allows supressing the default warning message for future
    incompatible ints, for lints that already provide a more detailed
    warning.
    m-ou-se committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    4645679 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c95a28 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f333b47 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Configuration menu
    Copy the full SHA
    b89ea96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10a37bf View commit details
    Browse the repository at this point in the history
  3. Add new tool to check HTML:

     * Make html-checker run by default on rust compiler docs as well
     * Ensure html-checker is run on CI
     * Lazify tidy binary presence check
    GuillaumeGomez committed Jun 28, 2021
    Configuration menu
    Copy the full SHA
    83a2bc3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af37ed7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    785b705 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92eedb2 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#86059 - GuillaumeGomez:html-checker2, r=Mar…

    …k-Simulacrum
    
    Add new tool to check HTML
    
    Re-opening of rust-lang#84480.
    
    r? `@Mark-Simulacrum`
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    b5d4343 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#86529 - cuviper:ssl3, r=Mark-Simulacrum

    Add support for OpenSSL 3.0.0
    
    This updates the `openssl` and `openssl-sys` crates to support building
    the toolchain with system libraries up to OpenSSL 3.0.0. This does not
    affect the static version used via `openssl-src` in CI builds.
    
    ref: sfackler/rust-openssl#1264
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    c9ac096 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#86657 - jam1garner:future_prelude_false_pos…

    …itive, r=nikomatsakis
    
    Fix `future_prelude_collision` false positive
    
    Fixes rust-lang#86633
    
    The lint for checking if method resolution of methods named `try_into` will fail in 2021 edition previously would fire on all inherent methods, however for inherent methods that consume `self`, this takes priority over `TryInto::try_into` due to being inherent, while trait method and methods that take `&self` or `&mut self` don't take priority, and thus aren't affected by this false positive.
    
    This fix is rather simple: simply checking if the inherent method doesn't auto-deref or auto-ref (and thus takes `self`) and if so, prevents the lint from firing.
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    5028581 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#86661 - sexxi-goose:edition_fix, r=nikomats…

    …akis
    
    Editon 2021 enables precise capture
    
    r? `@nikomatsakis`
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    22f2332 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#86671 - m-ou-se:non-fmt-panic-future-incomp…

    …atible, r=nikomatsakis
    
    Turn non_fmt_panic into a future_incompatible edition lint.
    
    This turns the `non_fmt_panic` lint into a future_incompatible edition lint, so it becomes part of the `rust_2021_compatibility` group. See rust-lang#85894.
    
    This lint produces both warnings about semantical changes (e.g. `panic!("{{")`) and things that will become hard errors (e.g. `panic!("{")`). So I added a `explain_reason: false` that supresses the default "this will become a hard error" or "the semantics will change" message, and instead added a note depending on the situation. (cc `@rylev)`
    
    r? `@nikomatsakis`
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    14f3335 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#86673 - m-ou-se:disjoint-capture-edition-li…

    …nt, r=nikomatsakis
    
    Make disjoint_capture_migration an edition lint.
    
    This turns the disjoint capture lint into an edition lint, and changes all the wording to refer to the edition.
    
    This includes the same first commit as rust-lang#86671. See rust-lang#86671.
    
    Fixes most of rust-lang/project-rfc-2229#43 (comment)
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    af3c154 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#86678 - FabianWolff:issue-86667, r=jackh726

    Fix garbled suggestion for missing lifetime specifier
    
    This PR fixes rust-lang#86667. The suggestion code currently checks whether there is a generic parameter that is not a synthetic `impl Trait` parameter and, if so, suggests to insert a new lifetime `'a` before that generic parameter. However, it does not make sense to insert `'a` in front of an elided lifetime parameter, since these are synthetic as well, which leads to the garbled suggestion in rust-lang#86667.
    JohnTitor authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    a89c6be View commit details
    Browse the repository at this point in the history