-
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 11 pull requests #129691
Rollup of 11 pull requests #129691
Commits on Aug 23, 2024
-
docs: correct panic conditions for rem_euclid and similar functions
fixes rust-lang#128857
binarycat committedAug 23, 2024 Configuration menu - View commit details
-
Copy full SHA for d7e7886 - Browse repository at this point
Copy the full SHA d7e7886View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a772db4 - Browse repository at this point
Copy the full SHA a772db4View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ea2981 - Browse repository at this point
Copy the full SHA 7ea2981View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a290fc - Browse repository at this point
Copy the full SHA 7a290fcView commit details
Commits on Aug 27, 2024
-
rustdoc: fix missing resource suffix on
crates.js
Fixes a regression introduced in rust-lang#128252.
Configuration menu - View commit details
-
Copy full SHA for a1746b4 - Browse repository at this point
Copy the full SHA a1746b4View commit details -
safe transmute: Rename
BikeshedIntrinsicFrom
toTransmuteFrom
As our implementation of MCP411 nears completion and we begin to solicit testing, it's no longer reasonable to expect testers to type or remember `BikeshedIntrinsicFrom`. The name degrades the ease-of-reading of documentation, and the overall experience of using compiler safe transmute. Tentatively, we'll instead adopt `TransmuteFrom`. This name seems to be the one most likely to be stabilized, after discussion on Zulip [1]. We may want to revisit the ordering of `Src` and `Dst` before stabilization, at which point we'd likely consider `TransmuteInto` or `Transmute`. [1] https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/What.20should.20.60BikeshedIntrinsicFrom.60.20be.20named.3F
Configuration menu - View commit details
-
Copy full SHA for 1ad218f - Browse repository at this point
Copy the full SHA 1ad218fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3000ad - Browse repository at this point
Copy the full SHA c3000adView commit details -
Configuration menu - View commit details
-
Copy full SHA for a507ec6 - Browse repository at this point
Copy the full SHA a507ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e17be95 - Browse repository at this point
Copy the full SHA e17be95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d6c915 - Browse repository at this point
Copy the full SHA 0d6c915View commit details
Commits on Aug 28, 2024
-
replace is_some() -> unwrap with if let
Orion Gonzalez committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for ddcb073 - Browse repository at this point
Copy the full SHA ddcb073View commit details -
Orion Gonzalez committed
Aug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for b218623 - Browse repository at this point
Copy the full SHA b218623View commit details -
Orion Gonzalez committed
Aug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for a007d34 - Browse repository at this point
Copy the full SHA a007d34View commit details -
Orion Gonzalez committed
Aug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for c35e01e - Browse repository at this point
Copy the full SHA c35e01eView commit details -
coverage:
CodeRegion
is never stored in an arenaThis might have been left over when coverage regions were stored in individual MIR statements, instead of a separate table attached to the MIR body.
Configuration menu - View commit details
-
Copy full SHA for f61f34f - Browse repository at this point
Copy the full SHA f61f34fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e162a8 - Browse repository at this point
Copy the full SHA 5e162a8View commit details -
coverage: Rename
CodeRegion
toSourceRegion
LLVM uses the word "code" to refer to a particular kind of coverage mapping. This unrelated usage of the word is confusing, and makes it harder to introduce types whose names correspond to the LLVM classification of coverage kinds.
Configuration menu - View commit details
-
Copy full SHA for 46e1b5b - Browse repository at this point
Copy the full SHA 46e1b5bView commit details -
Rollup merge of rust-lang#129421 - jdonszelmann:naked-repr-align-func…
…tions, r=workingjubilee,compiler-errors add repr to the allowlist for naked functions Fixes rust-lang#129412 (combining unstable features rust-lang#90957 (`#![feature(naked_functions)]`) and rust-lang#82232 (`#![feature(fn_align)]`)
Configuration menu - View commit details
-
Copy full SHA for 99453ce - Browse repository at this point
Copy the full SHA 99453ceView commit details -
Rollup merge of rust-lang#129480 - lolbinarycat:euclid-docs, r=joboet
docs: correct panic conditions for rem_euclid and similar functions fixes rust-lang#128857 also fixes the documentation for functions behind the `int_roundings` feature (rust-lang#88581)
Configuration menu - View commit details
-
Copy full SHA for 56ca2e2 - Browse repository at this point
Copy the full SHA 56ca2e2View commit details -
Rollup merge of rust-lang#129551 - RalfJung:ub-checks-fallback, r=sae…
…thlin ub_checks intrinsics: fall back to cfg(ub_checks) Not sure why the fallback body uses `debug_assertions`, probably a leftover from when `cfg!(ub_checks)` did not exist yet? r? `@saethlin`
Configuration menu - View commit details
-
Copy full SHA for 0156208 - Browse repository at this point
Copy the full SHA 0156208View commit details -
Rollup merge of rust-lang#129608 - RalfJung:const-eval-ub-checks, r=s…
…aethlin const-eval: do not make UbChecks behavior depend on current crate's flags Fixes rust-lang#129552 Let's see if we can get away with just always enabling these checks.
Configuration menu - View commit details
-
Copy full SHA for 3456b1d - Browse repository at this point
Copy the full SHA 3456b1dView commit details -
Rollup merge of rust-lang#129613 - RalfJung:interpret-target-feat, r=…
…saethlin interpret: do not make const-eval query result depend on tcx.sess The check against calling functions with missing target features uses `tcx.sess` to determine which target features are available. However, this can differ between different crates in a crate graph, so the same const-eval query can come to different conclusions about whether a constant evaluates successfully or not -- which is bad, we should consistently get the same result everywhere.
Configuration menu - View commit details
-
Copy full SHA for 39e840f - Browse repository at this point
Copy the full SHA 39e840fView commit details -
Rollup merge of rust-lang#129641 - notriddle:notriddle/missing-crates…
…-js-resource-suffix, r=GuillaumeGomez rustdoc: fix missing resource suffix on `crates.js` Fixes a regression introduced in rust-lang#128252.
Configuration menu - View commit details
-
Copy full SHA for 5725119 - Browse repository at this point
Copy the full SHA 5725119View commit details -
Rollup merge of rust-lang#129657 - jswrenn:transmute-name, r=compiler…
…-errors Rename `BikeshedIntrinsicFrom` to `TransmuteFrom` As our implementation of MCP411 nears completion and we begin to solicit testing, it's no longer reasonable to expect testers to type or remember `BikeshedIntrinsicFrom`. The name degrades the ease-of-reading of documentation, and the overall experience of using compiler safe transmute. Tentatively, we'll instead adopt `TransmuteFrom`. This name seems to be the one most likely to be stabilized, after discussion on Zulip [1]. We may want to revisit the ordering of `Src` and `Dst` before stabilization, at which point we'd likely consider `TransmuteInto` or `Transmute`. [1] https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/What.20should.20.60BikeshedIntrinsicFrom.60.20be.20named.3F Tracking Issue: rust-lang#99571 r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 29188a5 - Browse repository at this point
Copy the full SHA 29188a5View commit details -
Rollup merge of rust-lang#129666 - RalfJung:raw-eq-align, r=compiler-…
…errors interpret: add missing alignment check in raw_eq The intrinsic requires alignment, but we forgot to check for that in Miri and const-eval.
Configuration menu - View commit details
-
Copy full SHA for 5c2996d - Browse repository at this point
Copy the full SHA 5c2996dView commit details -
Rollup merge of rust-lang#129667 - dev-ardi:rustc_driver-cleanup, r=m…
…ichaelwoerister Rustc driver cleanup This adds a few comments to the driver to clarify a bit what's happening and does some cleanup.
Configuration menu - View commit details
-
Copy full SHA for 472c964 - Browse repository at this point
Copy the full SHA 472c964View commit details -
Rollup merge of rust-lang#129668 - coolreader18:fix-pin-set-regr, r=d…
…tolnay Fix Pin::set bounds regression Fixes rust-lang#129601 Fixes the regression from rust-lang#129449, where changing the bounds of the impl block containing `Pin::set` changed the method resolution behavior. ```rust struct A; impl A { fn set(&self) {} } let a: Pin<&A>; a.set(); // before: // - checks <impl<Ptr: DerefMut> Pin<Ptr>>::set(): `&A` doesn't impl `DerefMut` // - autorefs -> &A: resolves to A::set() // now: // - checks <impl<Ptr: Deref> Pin<Ptr>>::set(): `&A` impls `Deref`! resolves to Pin::set() // - check method bounds: `&A` doesn't impl DerefMut: error ``` r? `@dtolnay`
Configuration menu - View commit details
-
Copy full SHA for 27d7fb0 - Browse repository at this point
Copy the full SHA 27d7fb0View commit details -
Rollup merge of rust-lang#129686 - Zalathar:source-region, r=compiler…
…-errors coverage: Rename `CodeRegion` to `SourceRegion` LLVM uses the word "code" to refer to a particular kind of coverage mapping. This unrelated usage of the word is confusing, and makes it harder to introduce types whose names correspond to the LLVM classification of coverage kinds. No functional changes.
Configuration menu - View commit details
-
Copy full SHA for 4854fa7 - Browse repository at this point
Copy the full SHA 4854fa7View commit details