-
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 8 pull requests #131690
Rollup of 8 pull requests #131690
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5db54be - Browse repository at this point
Copy the full SHA 5db54beView commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c41c34 - Browse repository at this point
Copy the full SHA 0c41c34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84dacc1 - Browse repository at this point
Copy the full SHA 84dacc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec09a4 - Browse repository at this point
Copy the full SHA aec09a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3606d7 - Browse repository at this point
Copy the full SHA a3606d7View commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c085071 - Browse repository at this point
Copy the full SHA c085071View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6391d5 - Browse repository at this point
Copy the full SHA d6391d5View commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d858dfe - Browse repository at this point
Copy the full SHA d858dfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ebb6c - Browse repository at this point
Copy the full SHA 67ebb6cView commit details
Commits on Oct 14, 2024
-
Special treatment empty tuple when suggest adding a string literal in…
… format macro. For example: ```rust let s = "123"; println!({}, "sss", s); ``` Suggest: `println!("{:?} {} {}", {}, "sss", s);` fixes rust-lang#130170
Configuration menu - View commit details
-
Copy full SHA for ceced53 - Browse repository at this point
Copy the full SHA ceced53View commit details -
Configuration menu - View commit details
-
Copy full SHA for cec5986 - Browse repository at this point
Copy the full SHA cec5986View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f42f94 - Browse repository at this point
Copy the full SHA 9f42f94View commit details -
Rollup merge of rust-lang#129424 - coolreader18:stabilize-pin_as_dere…
…f_mut, r=dtolnay Stabilize `Pin::as_deref_mut()` Tracking issue: closes rust-lang#86918 Stabilizing the following API: ```rust impl<Ptr: DerefMut> Pin<Ptr> { pub fn as_deref_mut(self: Pin<&mut Pin<Ptr>>) -> Pin<&mut Ptr::Target>; } ``` I know that an FCP has not been started yet, but this isn't a very complex stabilization, and I'm hoping this can motivate an FCP to *get* started - this has been pending for a while and it's a very useful function when writing Future impls. r? ``@jonhoo``
Configuration menu - View commit details
-
Copy full SHA for 7ed6d1c - Browse repository at this point
Copy the full SHA 7ed6d1cView commit details -
Rollup merge of rust-lang#131332 - taiki-e:arm64ec-clobber-abi, r=Ama…
…nieu Fix clobber_abi and disallow SVE-related registers in Arm64EC inline assembly Currently `clobber_abi` in Arm64EC inline assembly is implemented using `InlineAsmClobberAbi::AArch64NoX18`, but broken since it attempts to clobber registers that cannot be used in Arm64EC: https://godbolt.org/z/r3PTrGz5r ``` error: cannot use register `x13`: x13, x14, x23, x24, x28, v16-v31 cannot be used for Arm64EC --> <source>:6:14 | 6 | asm!("", clobber_abi("C"), options(nostack, nomem, preserves_flags)); | ^^^^^^^^^^^^^^^^ error: cannot use register `x14`: x13, x14, x23, x24, x28, v16-v31 cannot be used for Arm64EC --> <source>:6:14 | 6 | asm!("", clobber_abi("C"), options(nostack, nomem, preserves_flags)); | ^^^^^^^^^^^^^^^^ <omitted the same errors for v16-v31> ``` Additionally, this disallows SVE-related registers per rust-lang#131332 (comment). cc ``@dpaoliello`` r? ``@Amanieu`` ``@rustbot`` label O-windows O-AArch64 +A-inline-assembly
Configuration menu - View commit details
-
Copy full SHA for 43bf4f1 - Browse repository at this point
Copy the full SHA 43bf4f1View commit details -
Rollup merge of rust-lang#131384 - saethlin:precondition-tests, r=ibr…
…aheemdev Update precondition tests (especially for zero-size access to null) I don't much like the current way I've updated the precondition check helpers, but I couldn't come up with anything better. Ideas welcome. I've organized `tests/ui/precondition-checks` mostly with one file per function that has `assert_unsafe_precondition` in it, with revisions that check each precondition. The important new test is `tests/ui/precondition-checks/zero-size-null.rs`.
Configuration menu - View commit details
-
Copy full SHA for 32062b4 - Browse repository at this point
Copy the full SHA 32062b4View commit details -
Rollup merge of rust-lang#131430 - surechen:fix_130495, r=jieyouxu
Special treatment empty tuple when suggest adding a string literal in format macro. For example: ```rust let s = "123"; println!({}, "sss", s); ``` Suggest: `println!("{:?} {} {}", {}, "sss", s);` fixes rust-lang#130170
Configuration menu - View commit details
-
Copy full SHA for 75231f8 - Browse repository at this point
Copy the full SHA 75231f8View commit details -
Rollup merge of rust-lang#131550 - compiler-errors:extern-diags, r=sp…
…astorino Make some tweaks to extern block diagnostics Self-explanatory. See the diagnostic changes; I hope they make them a bit more descriptive. r? spastorino
Configuration menu - View commit details
-
Copy full SHA for b8cdca8 - Browse repository at this point
Copy the full SHA b8cdca8View commit details -
Rollup merge of rust-lang#131667 - taiki-e:aarch64-inline-asm-reg-emi…
…t, r=Amanieu Fix AArch64InlineAsmReg::emit Currently, this method uses `self as u32 - Self::x0 as u32` to get register index: https://github.com/rust-lang/rust/blob/36780360b62320a61e2234b17ec600e8e4785509/compiler/rustc_target/src/asm/aarch64.rs#L204 However, this is incorrect for reasons explained in the following comment: https://github.com/rust-lang/rust/blob/36780360b62320a61e2234b17ec600e8e4785509/compiler/rustc_codegen_llvm/src/asm.rs#L544-L549 r? ``@Amanieu`` ``@rustbot`` label O-AArch64 +A-inline-assembly
Configuration menu - View commit details
-
Copy full SHA for dbb0581 - Browse repository at this point
Copy the full SHA dbb0581View commit details -
Rollup merge of rust-lang#131679 - Zalathar:ct-docs, r=jieyouxu
compiletest: Document various parts of compiletest's `lib.rs` This adds some much-needed comments to many of the items in compiletest's `lib.rs`, giving a better overview of how a compiletest invocation actually proceeds. To make review easier I have refrained from renames or functional changes, though I couldn't resist getting rid of one obviously-redundant `Arc::clone` in `make_test_closure`.
Configuration menu - View commit details
-
Copy full SHA for 53cfc10 - Browse repository at this point
Copy the full SHA 53cfc10View commit details -
Rollup merge of rust-lang#131682 - jieyouxu:compiletest-label, r=Zala…
…thar Tag PRs affecting compiletest with `A-compiletest`
Configuration menu - View commit details
-
Copy full SHA for ac9b212 - Browse repository at this point
Copy the full SHA ac9b212View commit details