-
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 #103228
Rollup of 6 pull requests #103228
Commits on Oct 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3041bc9 - Browse repository at this point
Copy the full SHA 3041bc9View commit details
Commits on Oct 17, 2022
-
Make transpose const and inline
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1a1ebb0 - Browse repository at this point
Copy the full SHA 1a1ebb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 913393a - Browse repository at this point
Copy the full SHA 913393aView commit details
Commits on Oct 18, 2022
-
Use the same tense everywhere and prefer display over debug, as these descriptions are user facing.
Configuration menu - View commit details
-
Copy full SHA for 4ed8345 - Browse repository at this point
Copy the full SHA 4ed8345View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c3bf4d - Browse repository at this point
Copy the full SHA 9c3bf4dView commit details
Commits on Oct 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 63be7a2 - Browse repository at this point
Copy the full SHA 63be7a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3edd9f - Browse repository at this point
Copy the full SHA b3edd9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5336a9 - Browse repository at this point
Copy the full SHA f5336a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb2d4e - Browse repository at this point
Copy the full SHA 7eb2d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35f1570 - Browse repository at this point
Copy the full SHA 35f1570View commit details -
Rollup merge of rust-lang#102863 - compiler-errors:call-suggestion-on…
…-unimplemented, r=nagisa Standardize "use parentheses to call" suggestions between typeck and trait selection 1. Suggest calling constructors, since they're basically `FnDef`s but they have a different def kind and hir representation, so we were leaving them out. 2. Standardize the call suggestions between trait fulfillment errors and type mismatch. In the type mismatch suggestion, we suggest `/* Ty */` as the placeholder for an arg, and not the parameter's name, which is less helpful. 3. Use `predicate_must_hold_modulo_regions` instead of matching on `EvaluationResult` -- this might cause some suggestions to be filtered out, but we really shouldn't be suggesting a call if it "may" hold, only when it "must" hold. 4. Borrow some logic from `extract_callable_info` to generalize this suggestion to fn pointers, type parameters, and opaque types. Fixes rust-lang#102852
Configuration menu - View commit details
-
Copy full SHA for 5c2c476 - Browse repository at this point
Copy the full SHA 5c2c476View commit details -
Rollup merge of rust-lang#103034 - nathanwhit:let-chains-rhs-temporar…
…ies, r=wesleywiser Let expressions on RHS shouldn't be terminating scopes Fixes rust-lang#100276. Before this PR, we were unconditionally marking the RHS of short-circuiting binary expressions as a terminating scope. In the case of a let chain where the `let` expression was on the RHS, this meant that temporaries within the `let` expr would only live until the end of the expression. Since this only affected the RHS, this led to surprising behavior ([example](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=d1b0a5d1f01882f9c89c2194a75eb19f)). After this PR, we only mark the RHS as a terminating scope if it is not a `let` expression.
Configuration menu - View commit details
-
Copy full SHA for 48c5e0c - Browse repository at this point
Copy the full SHA 48c5e0cView commit details -
Rollup merge of rust-lang#103127 - SUPERCILEX:inline-const-uninit, r=…
…scottmcm Make transpose const and inline r? `@scottmcm` - These should have been const from the beginning since we're never going to do more than a transmute. - Inline these always because that's what every other method in MaybeUninit which simply casts does. :) Ok, but a stronger justification is that because we're taking in arrays by `self`, not inlining would defeat the whole purpose of using `MaybeUninit` due to the copying.
Configuration menu - View commit details
-
Copy full SHA for f4afb9d - Browse repository at this point
Copy the full SHA f4afb9dView commit details -
Rollup merge of rust-lang#103153 - ChrisDenton:leak-oom, r=m-ou-se
Allow `Vec::leak` when using `no_global_oom_handling` As [the documentation notes](https://doc.rust-lang.org/std/vec/struct.Vec.html#method.leak), `Vec::leak` hasn't allocated since 1.57. cc `@Ericson2314` in case I'm missing something.
Configuration menu - View commit details
-
Copy full SHA for d056ea8 - Browse repository at this point
Copy the full SHA d056ea8View commit details -
Rollup merge of rust-lang#103182 - Nilstrieb:query-desc-cleanup, r=ol…
…i-obk Clean up query descriptions Use the same tense everywhere and prefer display over debug, as these descriptions are user facing.
Configuration menu - View commit details
-
Copy full SHA for 02d6135 - Browse repository at this point
Copy the full SHA 02d6135View commit details -
Rollup merge of rust-lang#103216 - cjgillot:issue-103210, r=jackh726
Consider patterns in fn params in an `Elided(Infer)` lifetime rib. Fixes rust-lang#103210
Configuration menu - View commit details
-
Copy full SHA for 32159e3 - Browse repository at this point
Copy the full SHA 32159e3View commit details