Skip to content

WIP make std build with -Zassumptions-on-binders#158872

Draft
BoxyUwU wants to merge 1 commit into
rust-lang:mainfrom
BoxyUwU:assumptions_on_binders_bootstrap
Draft

WIP make std build with -Zassumptions-on-binders#158872
BoxyUwU wants to merge 1 commit into
rust-lang:mainfrom
BoxyUwU:assumptions_on_binders_bootstrap

Conversation

@BoxyUwU

@BoxyUwU BoxyUwU commented Jul 6, 2026

Copy link
Copy Markdown
Member

r? ghost

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jul 6, 2026
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job tidy failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
                 outlives_env
Diff in /checkout/compiler/rustc_infer/src/infer/outlives/obligations.rs:222:
                     .region_bound_pairs()
                     .into_iter()
-                    .map(|outlives| ty::Binder::dummy(ty::OutlivesPredicate(outlives.0.to_ty(self.tcx), outlives.1)))
-                    .chain(
-                        outlives_env.known_type_outlives().into_iter().cloned(),
-                    )
+                    .map(|outlives| {
+                        ty::Binder::dummy(ty::OutlivesPredicate(
+                            outlives.0.to_ty(self.tcx),
+                            outlives.1,
+                        ))
+                    })
+                    .chain(outlives_env.known_type_outlives().into_iter().cloned())
                     .collect(),
                 outlives_env.free_region_map().relation.clone(),
             );
fmt: checked 6986 files
Bootstrap failed while executing `test src/tools/tidy tidyselftest --extra-checks=py,cpp,js,spellcheck`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants