-
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 7 pull requests #77302
Rollup of 7 pull requests #77302
Commits on Sep 14, 2020
-
diag: improve closure/generic parameter mismatch
This commit improves the diagnostic when a type parameter is expected and a closure is found, noting that each closure has a distinct type and therefore could not always match the caller-chosen type of the parameter. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01f65af - Browse repository at this point
Copy the full SHA 01f65afView commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8aae1ee - Browse repository at this point
Copy the full SHA 8aae1eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f69c5aa - Browse repository at this point
Copy the full SHA f69c5aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for af44a2a - Browse repository at this point
Copy the full SHA af44a2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc152cd - Browse repository at this point
Copy the full SHA fc152cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85b2d9b - Browse repository at this point
Copy the full SHA 85b2d9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 949c966 - Browse repository at this point
Copy the full SHA 949c966View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed52c7b - Browse repository at this point
Copy the full SHA ed52c7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac39deb - Browse repository at this point
Copy the full SHA ac39debView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8904921 - Browse repository at this point
Copy the full SHA 8904921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 275eed7 - Browse repository at this point
Copy the full SHA 275eed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bc0357 - Browse repository at this point
Copy the full SHA 6bc0357View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a4189 - Browse repository at this point
Copy the full SHA f6a4189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be843f - Browse repository at this point
Copy the full SHA 5be843fView commit details
Commits on Sep 25, 2020
-
fold is known in python and javascript as reduce, not sure about inject but it was written in doc there.
Configuration menu - View commit details
-
Copy full SHA for 1994cee - Browse repository at this point
Copy the full SHA 1994ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea0065a - Browse repository at this point
Copy the full SHA ea0065aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a61b963 - Browse repository at this point
Copy the full SHA a61b963View commit details
Commits on Sep 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 71bc62b - Browse repository at this point
Copy the full SHA 71bc62bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ff1431 - Browse repository at this point
Copy the full SHA 1ff1431View commit details -
Remove
rustc_allow_const_fn_ptr
This was a hack to work around the lack of an escape hatch for the "min `const fn`" checks in const-stable functions. Now that we have co-opted `allow_internal_unstable` for this purpose, we no longer need the bespoke attribute.
Configuration menu - View commit details
-
Copy full SHA for 3cbd17f - Browse repository at this point
Copy the full SHA 3cbd17fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2622b9 - Browse repository at this point
Copy the full SHA e2622b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54d3329 - Browse repository at this point
Copy the full SHA 54d3329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 368502c - Browse repository at this point
Copy the full SHA 368502cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 807260b - Browse repository at this point
Copy the full SHA 807260bView commit details
Commits on Sep 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dc8414b - Browse repository at this point
Copy the full SHA dc8414bView commit details -
Update unstable-book: Fix ABNF in inline assembly docs
Jethro Beekman committedSep 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 6817b62 - Browse repository at this point
Copy the full SHA 6817b62View commit details -
Rollup merge of rust-lang#76454 - poliorcetics:ui-to-unit-test-1, r=m…
…atklad UI to unit test for those using Cell/RefCell/UnsafeCell Helps with rust-lang#76268. I'm working on all files using `Cell` and moving them to unit tests when possible. r? @matklad
Configuration menu - View commit details
-
Copy full SHA for 734c57d - Browse repository at this point
Copy the full SHA 734c57dView commit details -
Rollup merge of rust-lang#76474 - bjorn3:driver_selected_codegen, r=o…
…li-obk Add option to pass a custom codegen backend from a driver This allows the driver to pass information to the codegen backend. For example the headcrab debugger may in the future want to use cg_clif to JIT code to be injected in the debuggee. This would PR make it possible to tell cg_clif which symbol can be found at which address and to tell it to inject the JITed code into the right process. This PR may also help with rust-lang/miri#1540 by allowing miri to provide a codegen backend that only emits metadata and doesn't perform any codegen. cc @nbaksalyar (headcrab) cc @RalfJung (miri)
Configuration menu - View commit details
-
Copy full SHA for 6a8cdbd - Browse repository at this point
Copy the full SHA 6a8cdbdView commit details -
Rollup merge of rust-lang#76711 - davidtwco:issue-51154-param-closure…
…, r=estebank diag: improve closure/generic parameter mismatch Fixes rust-lang#51154. This PR improves the diagnostic when a type parameter is expected and a closure is found, noting that each closure has a distinct type and therefore could not always match the caller-chosen type of the parameter. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 88ae20d - Browse repository at this point
Copy the full SHA 88ae20dView commit details -
Rollup merge of rust-lang#77170 - ecstatic-morse:const-fn-ptr, r=oli-obk
Remove `#[rustc_allow_const_fn_ptr]` and add `#![feature(const_fn_fn_ptr_basics)]` `rustc_allow_const_fn_ptr` was a hack to work around the lack of an escape hatch for the "min `const fn`" checks in const-stable functions. Now that we have co-opted `allow_internal_unstable` for this purpose, we no longer need a bespoke attribute. Now this functionality is gated under `const_fn_fn_ptr_basics` (how concise!), and `#[allow_internal_unstable(const_fn_fn_ptr_basics)]` replaces `#[rustc_allow_const_fn_ptr]`. `const_fn_fn_ptr_basics` allows function pointer types to appear in the arguments and locals of a `const fn` as well as function pointer casts to be performed inside a `const fn`. Both of these were allowed in constants and statics already. Notably, this does **not** allow users to invoke function pointers in a const context. Presumably, we will use a nicer name for that (`const_fn_ptr`?). r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 85a59d4 - Browse repository at this point
Copy the full SHA 85a59d4View commit details -
Rollup merge of rust-lang#77194 - pickfire:patch-7, r=withoutboats
Add doc alias for iterator fold fold is known in python and javascript as reduce, not sure about inject but it was written in doc there. This was my first confusion when coming into rust, I somehow cannot find where is reduce, sometimes I still forget that it is known as `fold`.
Configuration menu - View commit details
-
Copy full SHA for aba966a - Browse repository at this point
Copy the full SHA aba966aView commit details -
Rollup merge of rust-lang#77288 - RalfJung:miri-macos, r=Amanieu
fix building libstd for Miri on macOS Fixes a Miri regression introduced by rust-lang#75295 Cc @tmiasko @Amanieu
Configuration menu - View commit details
-
Copy full SHA for a966f54 - Browse repository at this point
Copy the full SHA a966f54View commit details -
Rollup merge of rust-lang#77295 - jethrogb:jb/unstable-book-asm, r=Am…
…anieu Update unstable-book: Fix ABNF in inline assembly docs r? @Amanieu
Configuration menu - View commit details
-
Copy full SHA for d9c1192 - Browse repository at this point
Copy the full SHA d9c1192View commit details