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

Closed
wants to merge 18 commits into from
Closed

Commits on Sep 20, 2022

  1. Remove use of io::ErrorKind::Other in std

    The documentation states that this `ErrorKind` is not used by the
    standard library. Instead, `io::ErrorKind::Uncategorized` should be
    used.
    Patiga committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    04c1087 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5922d6c View commit details
    Browse the repository at this point in the history
  3. Make OUT an associated type instead of a generic parameter

    This avoids toil when changing other functions in `ObligationForest` to take an `OUT` parameter.
    jyn514 committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    749dec6 View commit details
    Browse the repository at this point in the history
  4. Make cycle errors recoverable

    In particular, this allows rustdoc to recover from cycle errors when normalizing associated types for documentation.
    
    In the past, `@jackh726` has said we need to be careful about overflow errors:
    
    > Off the top of my head, we definitely should be careful about treating overflow errors the same as
    "not implemented for some reason" errors. Otherwise, you could end up with behavior that is
    different depending on recursion depth. But, that might be context-dependent.
    
    But cycle errors should be safe to unconditionally report; they don't depend on the recursion depth, they will always be an error whenever they're encountered.
    jyn514 committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    1512ce5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a72666e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b96e5e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Configuration menu
    Copy the full SHA
    062b49c View commit details
    Browse the repository at this point in the history
  2. Bless cgu test.

    cjgillot committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    c213743 View commit details
    Browse the repository at this point in the history
  3. Bless pretty tests.

    cjgillot committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    eb71fd6 View commit details
    Browse the repository at this point in the history
  4. Bless 32bit ui.

    cjgillot committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    eee64a0 View commit details
    Browse the repository at this point in the history
  5. Fix a typo in error message

    steffahn committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    696472a View commit details
    Browse the repository at this point in the history
  6. Bless test output changes

    steffahn committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    0776778 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Rollup merge of rust-lang#102036 - Patiga:remove-io-errorkind-other-u…

    …se-in-std, r=Mark-Simulacrum
    
    Remove use of `io::ErrorKind::Other` in std
    
    The documentation states that this `ErrorKind` is not used by the standard library. Instead, `io::ErrorKind::Uncategorized` should be used.
    
    The two instances are in the unstable API [linux_pidfd](rust-lang#82971).
    Dylan-DPC authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    0fb077a View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#102037 - jyn514:normalize-docs, r=lcnr

    Make cycle errors recoverable
    
    In particular, this allows rustdoc to recover from cycle errors when normalizing associated types for documentation.
    
    In the past, ``@jackh726`` has said we need to be careful about overflow errors: rust-lang#91430 (comment)
    
    > Off the top of my head, we definitely should be careful about treating overflow errors the same as
    "not implemented for some reason" errors. Otherwise, you could end up with behavior that is
    different depending on recursion depth. But, that might be context-dependent.
    
    But cycle errors should be safe to unconditionally report; they don't depend on the recursion depth, they will always be an error whenever they're encountered.
    
    Helps with rust-lang#81091.
    
    r? ``@lcnr`` cc ``@matthewjasper``
    Dylan-DPC authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    0d9120c View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#102068 - cjgillot:erased-lifetime-print, r=…

    …eholk
    
    Always print '_, even for erased lifetimes.
    
    Explicit lifetime arguments are now the recommended syntax in rust 2018 and rust 2021.  This PR applies this discipline to rustc itself.
    Dylan-DPC authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    8110cce View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#102069 - compiler-errors:no-eq-in-register-…

    …opaque, r=oli-obk
    
    Skip `Equate` relation in `handle_opaque_type`
    
    r? `@oli-obk`
    Dylan-DPC authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    2d7dd56 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#102076 - cuviper:transmute-discr-endian, r=…

    …jackh726
    
    rustc_transmute: fix big-endian discriminants
    
    I noticed that some new tests were failing in Fedora on s390x only, which usually means there's a problem with big-endian, and sure enough there's a FIXME(`@jswrenn)` for that in `rustc_transmute`. This patch implements the appropriate consideration for target endianness, rather than using native (host) endian.
    Dylan-DPC authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    81c0f61 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#102119 - steffahn:fix-pararmeter, r=dtolnay

    Fix a typo “pararmeter” in error message
    
    Issue reported on IRLO: https://internals.rust-lang.org/t/fixing-a-typo/17427
    Dylan-DPC authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    9402d3d View commit details
    Browse the repository at this point in the history