-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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 8 pull requests #125448
Rollup of 8 pull requests #125448
Commits on Apr 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a18f043 - Browse repository at this point
Copy the full SHA a18f043View commit details -
Allow coercing functions whose signature differs in opaque types in t…
…heir defining scope into a shared function pointer type
Configuration menu - View commit details
-
Copy full SHA for c24148e - Browse repository at this point
Copy the full SHA c24148eView commit details
Commits on May 22, 2024
-
Rename
FrameworkOnlyWindows
toRawDylibOnlyWindows
Frameworks are Apple-specific, no idea why it had "framework" in the name before.
Configuration menu - View commit details
-
Copy full SHA for 72968e5 - Browse repository at this point
Copy the full SHA 72968e5View commit details -
rustc: Use
tcx.used_crates(())
moreAnd explain when it should be used.
Configuration menu - View commit details
-
Copy full SHA for 711338b - Browse repository at this point
Copy the full SHA 711338bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8369dbb - Browse repository at this point
Copy the full SHA 8369dbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c24d1c7 - Browse repository at this point
Copy the full SHA c24d1c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4e5426 - Browse repository at this point
Copy the full SHA d4e5426View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae49dbe - Browse repository at this point
Copy the full SHA ae49dbeView commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1f17e27 - Browse repository at this point
Copy the full SHA 1f17e27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ac1a80 - Browse repository at this point
Copy the full SHA 3ac1a80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 301c8de - Browse repository at this point
Copy the full SHA 301c8deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf34cb - Browse repository at this point
Copy the full SHA 4cf34cbView commit details -
Rollup merge of rust-lang#124297 - oli-obk:define_opaque_types13, r=j…
…ackh726 Allow coercing functions whose signature differs in opaque types in their defining scope into a shared function pointer type r? `@compiler-errors` This accepts more code on stable. It is now possible to have match arms return a function item `foo` and a different function item `bar` in another, and that will constrain OpaqueTypeInDefiningScope to have the hidden type ConcreteType and make the type of the match arms a function pointer that matches the signature. So the following function will now compile, but on master it errors with a type mismatch on the second match arm ```rust fn foo<T>(t: T) -> T { t } fn bar<T>(t: T) -> T { t } fn k() -> impl Sized { fn bind<T, F: FnOnce(T) -> T>(_: T, f: F) -> F { f } let x = match true { true => { let f = foo; bind(k(), f) } false => bar::<()>, }; todo!() } ``` cc rust-lang#116652 This is very similar to rust-lang#123794, and with the same rationale: > this is for consistency with `-Znext-solver`. the new solver does not have the concept of "non-defining use of opaque" right now and we would like to ideally keep it that way. Moving to `DefineOpaqueTypes::Yes` in more cases removes subtlety from the type system. Right now we have to be careful when relating `Opaque` with another type as the behavior changes depending on whether we later use the `Opaque` or its hidden type directly (even though they are equal), if that later use is with `DefineOpaqueTypes::No`*
Configuration menu - View commit details
-
Copy full SHA for abcf400 - Browse repository at this point
Copy the full SHA abcf400View commit details -
Rollup merge of rust-lang#124516 - oli-obk:taint_const_eval, r=RalfJung
Allow monomorphization time const eval failures if the cause is a type layout issue r? `@RalfJung` fixes rust-lang#124348
Configuration menu - View commit details
-
Copy full SHA for eb6b35b - Browse repository at this point
Copy the full SHA eb6b35bView commit details -
Rollup merge of rust-lang#124976 - petrochenkov:usedcrates, r=oli-obk
rustc: Use `tcx.used_crates(())` more And explain when it should be used. Addresses comments from rust-lang#121167.
Configuration menu - View commit details
-
Copy full SHA for eda4a35 - Browse repository at this point
Copy the full SHA eda4a35View commit details -
Rollup merge of rust-lang#125210 - fmease:fix-up-some-diags, r=davidtwco
Cleanup: Fix up some diagnostics Several diagnostics contained their error code inside their primary message which is no bueno. This PR moves them out of the message and turns them into structured error codes. Also fixes another occurrence of `->` after a selector in a Fluent message which is not correct. I've fixed two other instances of this issue in rust-lang#104345 (2022) but didn't update all instances as I've noted here: rust-lang#104345 (comment) (“the future is now!”).
Configuration menu - View commit details
-
Copy full SHA for 337987b - Browse repository at this point
Copy the full SHA 337987bView commit details -
Rollup merge of rust-lang#125409 - tbu-:pr_raw_dylib_only_windows, r=…
…lcnr Rename `FrameworkOnlyWindows` to `RawDylibOnlyWindows` Frameworks are Apple-specific, no idea why it had "framework" in the name before.
Configuration menu - View commit details
-
Copy full SHA for c9e457d - Browse repository at this point
Copy the full SHA c9e457dView commit details -
Rollup merge of rust-lang#125416 - compiler-errors:param-env-missing-…
…copy, r=lcnr Use correct param-env in `MissingCopyImplementations` We shouldn't assume the param-env is empty for this lint, since although we check the struct has no parameters, there still may be trivial where-clauses. fixes rust-lang#125394
Configuration menu - View commit details
-
Copy full SHA for e713b2a - Browse repository at this point
Copy the full SHA e713b2aView commit details -
Rollup merge of rust-lang#125421 - Oneirical:bundle-them-yet-again, r…
…=jieyouxu Rewrite `core-no-oom-handling`, `issue-24445` and `issue-38237` `run-make` tests to new `rmake.rs` format Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). The test which is now called `non-pie-thread-local` has an unexplained "only-linux" flag. Could it be worth trying to remove it and changing the CI to test non-Linux platforms on it?
Configuration menu - View commit details
-
Copy full SHA for eb1b9b0 - Browse repository at this point
Copy the full SHA eb1b9b0View commit details -
Rollup merge of rust-lang#125438 - tbu-:pr_rm_to_string_lossy, r=jiey…
…ouxu Remove unneeded string conversion
Configuration menu - View commit details
-
Copy full SHA for cf92f4c - Browse repository at this point
Copy the full SHA cf92f4cView commit details