-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rollup of 6 pull requests #102126
Commits on Sep 20, 2022
-
Remove use of
io::ErrorKind::Other
in stdThe documentation states that this `ErrorKind` is not used by the standard library. Instead, `io::ErrorKind::Uncategorized` should be used.
Configuration menu - View commit details
-
Copy full SHA for 04c1087 - Browse repository at this point
Copy the full SHA 04c1087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5922d6c - Browse repository at this point
Copy the full SHA 5922d6cView commit details -
Make
OUT
an associated type instead of a generic parameterThis avoids toil when changing other functions in `ObligationForest` to take an `OUT` parameter.
Configuration menu - View commit details
-
Copy full SHA for 749dec6 - Browse repository at this point
Copy the full SHA 749dec6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1512ce5 - Browse repository at this point
Copy the full SHA 1512ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a72666e - Browse repository at this point
Copy the full SHA a72666eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b96e5e - Browse repository at this point
Copy the full SHA 5b96e5eView commit details
Commits on Sep 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 062b49c - Browse repository at this point
Copy the full SHA 062b49cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c213743 - Browse repository at this point
Copy the full SHA c213743View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb71fd6 - Browse repository at this point
Copy the full SHA eb71fd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for eee64a0 - Browse repository at this point
Copy the full SHA eee64a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 696472a - Browse repository at this point
Copy the full SHA 696472aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0776778 - Browse repository at this point
Copy the full SHA 0776778View commit details
Commits on Sep 22, 2022
-
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).
Configuration menu - View commit details
-
Copy full SHA for 0fb077a - Browse repository at this point
Copy the full SHA 0fb077aView commit details -
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``
Configuration menu - View commit details
-
Copy full SHA for 0d9120c - Browse repository at this point
Copy the full SHA 0d9120cView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8110cce - Browse repository at this point
Copy the full SHA 8110cceView commit details -
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`
Configuration menu - View commit details
-
Copy full SHA for 2d7dd56 - Browse repository at this point
Copy the full SHA 2d7dd56View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 81c0f61 - Browse repository at this point
Copy the full SHA 81c0f61View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9402d3d - Browse repository at this point
Copy the full SHA 9402d3dView commit details