-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #130357
Rollup of 6 pull requests #130357
Commits on Sep 10, 2024
-
coverage: Extract
executor::block_on
from several async coverage testsBy moving `block_on` to an auxiliary crate, we avoid having to keep a separate copy of it in every async test. (This also incorporates some small tweaks to the headers in `await_ready.rs`.)
Configuration menu - View commit details
-
Copy full SHA for e96b4e4 - Browse repository at this point
Copy the full SHA e96b4e4View commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d0be42d - Browse repository at this point
Copy the full SHA d0be42dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2235d - Browse repository at this point
Copy the full SHA 0b2235dView commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1121f8 - Browse repository at this point
Copy the full SHA c1121f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5138399 - Browse repository at this point
Copy the full SHA 5138399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b59bba - Browse repository at this point
Copy the full SHA 0b59bbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65863c5 - Browse repository at this point
Copy the full SHA 65863c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b613ed - Browse repository at this point
Copy the full SHA 7b613edView commit details -
Remove unnecessary lifetime from
RunCompiler
.This does change the external interface, but not in a way that will cause any breakage because external users don't mention the lifetimes.
Configuration menu - View commit details
-
Copy full SHA for 072bf48 - Browse repository at this point
Copy the full SHA 072bf48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 606b9cb - Browse repository at this point
Copy the full SHA 606b9cbView commit details -
Rename and reorder lots of lifetimes.
- Replace non-standard names like 's, 'p, 'rg, 'ck, 'parent, 'this, and 'me with vanilla 'a. These are cases where the original name isn't really any more informative than 'a. - Replace names like 'cx, 'mir, and 'body with vanilla 'a when the lifetime applies to multiple fields and so the original lifetime name isn't really accurate. - Put 'tcx last in lifetime lists, and 'a before 'b.
Configuration menu - View commit details
-
Copy full SHA for 8d32578 - Browse repository at this point
Copy the full SHA 8d32578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 359b658 - Browse repository at this point
Copy the full SHA 359b658View commit details
Commits on Sep 14, 2024
-
docs: Enable required feature for 'closure_returning_async_block' lint
Failing to do this results in the lint example output complaining about the lint not existing instead of the thing the lint is supposed to be complaining about.
Configuration menu - View commit details
-
Copy full SHA for 14285e9 - Browse repository at this point
Copy the full SHA 14285e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 003da02 - Browse repository at this point
Copy the full SHA 003da02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d20c81 - Browse repository at this point
Copy the full SHA 3d20c81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb5849 - Browse repository at this point
Copy the full SHA 4cb5849View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60ee1b7 - Browse repository at this point
Copy the full SHA 60ee1b7View commit details -
Rollup merge of rust-lang#130017 - Zalathar:executor, r=Mark-Simulacrum
coverage: Extract `executor::block_on` from several async coverage tests By moving `block_on` to an auxiliary crate, we avoid having to keep a separate copy of it in every async test.
Configuration menu - View commit details
-
Copy full SHA for 2b12b57 - Browse repository at this point
Copy the full SHA 2b12b57View commit details -
Rollup merge of rust-lang#130268 - RalfJung:simd-shuffle-idx-vector, …
…r=compiler-errors simd_shuffle: require index argument to be a vector Remove some codegen hacks by forcing the SIMD shuffle `index` argument to be a vector, which means (thanks to rust-lang#128537) that it will automatically be passed as an immediate in LLVM. The only special-casing we still have is for the extra sanity-checks we add that ensure that the indices are all in-bounds. (And the GCC backend needs to do a bunch of work since the Rust intrinsic is modeled after what LLVM expects, which seems to be quite different from what GCC expects.) Fixes rust-lang#128738, see that issue for more context.
Configuration menu - View commit details
-
Copy full SHA for a9dcd7f - Browse repository at this point
Copy the full SHA a9dcd7fView commit details -
Rollup merge of rust-lang#130290 - passcod:stabilise-entry-insert, r=…
…ChrisDenton Stabilize entry_insert This stabilises `HashMap::Entry::insert_entry`, following the FCP in tracking issue rust-lang#65225. This was implemented in rust-lang#64656 five years ago.
Configuration menu - View commit details
-
Copy full SHA for f873367 - Browse repository at this point
Copy the full SHA f873367View commit details -
Rollup merge of rust-lang#130294 - nnethercote:more-lifetimes, r=lcnr
Lifetime cleanups The last commit is very opinionated, let's see how we go. r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 03e8b6b - Browse repository at this point
Copy the full SHA 03e8b6bView commit details -
Rollup merge of rust-lang#130343 - Fayti1703:patch-correct-async-bloc…
…k-lint-doc, r=compiler-errors docs: Enable required feature for 'closure_returning_async_block' lint Failing to do this results in the lint example output complaining about the lint not existing instead of the thing the lint is supposed to be complaining about. See <https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#closure-returning-async-block>: ![image](https://github.com/user-attachments/assets/78bae16f-3fb6-4d6d-b8aa-768b477cd187)
Configuration menu - View commit details
-
Copy full SHA for d1701a5 - Browse repository at this point
Copy the full SHA d1701a5View commit details -
Rollup merge of rust-lang#130349 - ShE3py:break_up_float, r=fmease
Fix `Parser::break_up_float`'s right span ```rs use std::mem::offset_of; fn main() { offset_of!((u8,), 0.0); } ``` Before: ``` error[E0609]: no field `0` on type `u8` --> ./main.rs:4:25 | 4 | offset_of!((u8,), 0.0); | _____--------------------^- | | | | | in this macro invocation 5 | | } ... | | = note: this error originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 1 previous error ``` After: ``` error[E0609]: no field `0` on type `u8` --> ./main.rs:4:25 | 4 | offset_of!((u8,), 0.0); | ^ error: aborting due to 1 previous error ``` --- `@rustbot` label +A-parser +D-imprecise-spans
Configuration menu - View commit details
-
Copy full SHA for 2b40fdb - Browse repository at this point
Copy the full SHA 2b40fdbView commit details