-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #117415
Rollup of 7 pull requests #117415
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 745c600 - Browse repository at this point
Copy the full SHA 745c600View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc926f7 - Browse repository at this point
Copy the full SHA bc926f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 972ee01 - Browse repository at this point
Copy the full SHA 972ee01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d03e13 - Browse repository at this point
Copy the full SHA 8d03e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 251021c - Browse repository at this point
Copy the full SHA 251021cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ff2a7 - Browse repository at this point
Copy the full SHA 43ff2a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5e836c - Browse repository at this point
Copy the full SHA d5e836cView commit details -
Poison check_well_formed if method receivers are invalid to prevent t…
…ypeck from running on it
Configuration menu - View commit details
-
Copy full SHA for ff3a818 - Browse repository at this point
Copy the full SHA ff3a818View commit details -
Configuration menu - View commit details
-
Copy full SHA for 224ddf8 - Browse repository at this point
Copy the full SHA 224ddf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 162443b - Browse repository at this point
Copy the full SHA 162443bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 455cf5a - Browse repository at this point
Copy the full SHA 455cf5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91f60e - Browse repository at this point
Copy the full SHA c91f60eView commit details -
Rollup merge of rust-lang#116862 - estebank:issue-57457, r=oli-obk
Detect when trait is implemented for type and suggest importing it Fix rust-lang#57457.
Configuration menu - View commit details
-
Copy full SHA for c299595 - Browse repository at this point
Copy the full SHA c299595View commit details -
Rollup merge of rust-lang#117389 - oli-obk:gen_fn, r=compiler-errors
Some diagnostics improvements of `gen` blocks These are leftovers from rust-lang#116447
Configuration menu - View commit details
-
Copy full SHA for 86259e7 - Browse repository at this point
Copy the full SHA 86259e7View commit details -
Rollup merge of rust-lang#117396 - oli-obk:privacy_visitor_types, r=c…
…ompiler-errors Don't treat closures/coroutine types as part of the public API Fixes a regression from rust-lang#117076 r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for e648f47 - Browse repository at this point
Copy the full SHA e648f47View commit details -
Rollup merge of rust-lang#117398 - Nadrieril:fix-117378, r=compiler-e…
…rrors Correctly handle nested or-patterns in exhaustiveness I had assumed nested or-patterns were flattened, and they mostly are but not always. Fixes rust-lang#117378
Configuration menu - View commit details
-
Copy full SHA for 342483c - Browse repository at this point
Copy the full SHA 342483cView commit details -
Rollup merge of rust-lang#117403 - oli-obk:the_gift_that_keeps_on_giv…
…ing_116849, r=compiler-errors Poison check_well_formed if method receivers are invalid to prevent typeck from running on it fixes rust-lang#117379 Though if some code invokes typeck without having first invoked `check_well_formed` then we'll encounter this ICE again. This can happen in const and const fn bodies if they are evaluated due to other `check_well_formed` checks or similar
Configuration menu - View commit details
-
Copy full SHA for 24c6b6c - Browse repository at this point
Copy the full SHA 24c6b6cView commit details -
Rollup merge of rust-lang#117411 - oli-obk:query_merge_immobile_game,…
… r=compiler-errors,Nilstrieb Improve some diagnostics around `?Trait` bounds * uses better spans * clarifies a message that was only talking about generic params, but applies to `dyn ?Trait` and `impl ?Trait` as well
Configuration menu - View commit details
-
Copy full SHA for 3e95c6a - Browse repository at this point
Copy the full SHA 3e95c6aView commit details -
Rollup merge of rust-lang#117414 - compiler-errors:tait-forevert, r=o…
…li-obk Don't normalize to an un-revealed opaque when we hit the recursion limit Currently, we will normalize `Opaque := Option<&Opaque>` to something like `Option<&Option<&Option<&...Opaque>>>`, hitting a limit and bottoming out in an unnormalized opaque after the recursion limit gets hit. Unfortunately, during `layout_of`, we'll simply recurse and try again if the type normalizes to something different than the type: https://github.com/rust-lang/rust/blob/e6e931dda5fffbae0fd87c5b1af753cc95556880/compiler/rustc_ty_utils/src/layout.rs#L58-L60 That means then we'll try to normalize `Option<&Option<&Option<&...Opaque>>>` again, substituting `Opaque` into itself even deeper. Eventually this will get to the point that we're just stack-overflowing on a really deep type before even hitting an opaque again. To fix this, we just bottom out into `ty::Error` instead of the unrevealed opaque type. Fixes rust-lang#117412 r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for c5aec96 - Browse repository at this point
Copy the full SHA c5aec96View commit details