Skip to content

Rollup of 7 pull requests #142242

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

Merged
merged 31 commits into from
Jun 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1666f86
proposal to expand (a subset of) linux specific socket capabilities.
devnexen Aug 15, 2024
ffb93c6
triagebot: configure PR welcome message for no auto/explicit reviewer
jieyouxu Jun 3, 2025
4d0724c
Merge pull request #2450 from jieyouxu/pr_message
jieyouxu Jun 3, 2025
94e0753
expand meaning of ~? diagnostic annotation
tshepang Jun 3, 2025
bd9c307
Fix incorrect use of "recommend" over "recommended"
Rageking8 Jun 4, 2025
5dddd01
Merge pull request #2455 from Rageking8/fix-incorrect-use-of-recommen…
jieyouxu Jun 4, 2025
e802754
Merge pull request #2454 from rust-lang/tshepang-expand
jieyouxu Jun 4, 2025
9490162
triagebot: avoid unnecessary line break in PR welcome message
jieyouxu Jun 4, 2025
96eed17
Merge pull request #2456 from jieyouxu/pr-message-nit
jieyouxu Jun 4, 2025
d281b45
rustdoc: Further improve chapters and sections on testing
fmease Mar 20, 2025
f56cf01
Merge pull request #2298 from fmease/rustdoc-testing-addendum
fmease Jun 7, 2025
f6270d2
Fix typo
fmease Jun 7, 2025
76b2ef2
Merge pull request #2458 from fmease/followup-type-rustdoc-test-suite
fmease Jun 7, 2025
fdae344
De-duplicate f16 & f128 doctest attributes
Urgau Jun 8, 2025
53d339b
add tests for pattern binding drop order edge cases
dianne Jun 7, 2025
ec62afc
remove the archived ICE ping groups
cyrgani Jun 8, 2025
8290ab5
Merge pull request #2460 from cyrgani/icebreaker
fmease Jun 8, 2025
d2afab4
Dont make ObligationCtxts with diagnostics unnecessarily
compiler-errors Jun 9, 2025
f598bbd
Preparing for merge from rustc
invalid-email-address Jun 9, 2025
7565e75
Merge from rustc
invalid-email-address Jun 9, 2025
4967fd2
Merge pull request #2461 from rust-lang/rustc-pull
tshepang Jun 9, 2025
7614592
Do not inherit environment variables in citool tests
Kobzol Jun 9, 2025
54ed1b9
Run `calculate_matrix` job on the `master` branch
Kobzol Jun 9, 2025
c3de813
add `Cargo.lock` to CI-rustc allowed list for non-CI env
onur-ozkan Jun 9, 2025
d9563a5
Rollup merge of #129121 - devnexen:stabilize_ext_linux_tcp_layer, r=t…
matthiaskrgr Jun 9, 2025
25de98f
Rollup merge of #142192 - Urgau:dedup-f16-f128-test-attrs, r=tgross35
matthiaskrgr Jun 9, 2025
9188dd7
Rollup merge of #142193 - dianne:binding-drop-order-edge-case-tests, …
matthiaskrgr Jun 9, 2025
7ab9383
Rollup merge of #142222 - compiler-errors:ocx-w-no-diag, r=lcnr
matthiaskrgr Jun 9, 2025
60a2adb
Rollup merge of #142228 - tshepang:rust-push, r=jieyouxu
matthiaskrgr Jun 9, 2025
8435fe8
Rollup merge of #142231 - Kobzol:master-cache-ci, r=marcoieni
matthiaskrgr Jun 9, 2025
8daa8ef
Rollup merge of #142232 - onur-ozkan:141986, r=Kobzol
matthiaskrgr Jun 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ name: CI
on:
push:
branches:
# CI on master only serves for caching citool builds for the `calculate_matrix` job.
# In order to use GHA cache on PR CI (and auto/try) jobs, we need to write to it
# from the default branch.
- master
- auto
- try
- try-perf
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_const_eval/src/check_consts/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ impl<'mir, 'tcx> Checker<'mir, 'tcx> {
}

let (infcx, param_env) = tcx.infer_ctxt().build_with_typing_env(self.body.typing_env(tcx));
let ocx = ObligationCtxt::new_with_diagnostics(&infcx);
let ocx = ObligationCtxt::new(&infcx);

let body_id = self.body.source.def_id().expect_local();
let host_polarity = match self.const_kind() {
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ty_utils/src/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ fn impl_self_is_guaranteed_unsized<'tcx>(tcx: TyCtxt<'tcx>, impl_def_id: DefId)

let infcx = tcx.infer_ctxt().ignoring_regions().build(ty::TypingMode::non_body_analysis());

let ocx = traits::ObligationCtxt::new_with_diagnostics(&infcx);
let ocx = traits::ObligationCtxt::new(&infcx);
let cause = traits::ObligationCause::dummy();
let param_env = tcx.param_env(impl_def_id);

Expand Down
23 changes: 1 addition & 22 deletions library/core/src/num/f128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,7 @@ impl f128 {
// due to https://github.com/llvm/llvm-project/issues/44744. aarch64 linux matches this.
// #[unstable(feature = "core_float_math", issue = "137578")]
#[cfg(not(test))]
#[doc(test(attr(feature(cfg_target_has_reliable_f16_f128), expect(internal_features))))]
impl f128 {
/// Returns the largest integer less than or equal to `self`.
///
Expand All @@ -1431,8 +1432,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1464,8 +1463,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1497,8 +1494,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1535,8 +1530,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1570,8 +1563,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1604,8 +1595,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1646,8 +1635,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1694,8 +1681,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1739,8 +1724,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1779,8 +1762,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down Expand Up @@ -1814,8 +1795,6 @@ impl f128 {
///
/// ```
/// #![feature(f128)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f128_math)] {
///
Expand Down
25 changes: 1 addition & 24 deletions library/core/src/num/f16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ impl f16 {
// Functions in this module fall into `core_float_math`
// #[unstable(feature = "core_float_math", issue = "137578")]
#[cfg(not(test))]
#[doc(test(attr(feature(cfg_target_has_reliable_f16_f128), expect(internal_features))))]
impl f16 {
/// Returns the largest integer less than or equal to `self`.
///
Expand All @@ -1407,8 +1408,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1440,8 +1439,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1473,8 +1470,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1511,8 +1506,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1546,8 +1539,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1580,8 +1571,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1622,8 +1611,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1670,8 +1657,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1715,8 +1700,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1755,8 +1738,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1790,8 +1771,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down Expand Up @@ -1828,8 +1807,6 @@ impl f16 {
///
/// ```
/// #![feature(f16)]
/// # #![feature(cfg_target_has_reliable_f16_f128)]
/// # #![expect(internal_features)]
/// # #[cfg(not(miri))]
/// # #[cfg(target_has_reliable_f16_math)] {
///
Expand Down
Loading
Loading