Skip to content

[WIP]: Resolve type relative type/const-generic paths in trait solving#145825

Closed
BoxyUwU wants to merge 2 commits intorust-lang:mainfrom
BoxyUwU:alias_kind_unresolved
Closed

[WIP]: Resolve type relative type/const-generic paths in trait solving#145825
BoxyUwU wants to merge 2 commits intorust-lang:mainfrom
BoxyUwU:alias_kind_unresolved

Conversation

@BoxyUwU
Copy link
Member

@BoxyUwU BoxyUwU commented Aug 24, 2025

r? @ghost

Literally just opening this so I don't forget the branch name. lol.

@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. labels Aug 24, 2025
@BoxyUwU BoxyUwU force-pushed the alias_kind_unresolved branch from 017d868 to 112d5e4 Compare August 24, 2025 17:27
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) label Aug 25, 2025
@rust-log-analyzer
Copy link
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)
##[endgroup]
[TIMING:end] tool::ToolBuild { build_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, tool: "tidy", path: "src/tools/tidy", mode: ToolBootstrap, source_type: InTree, extra_features: [], allow_features: "", cargo_args: [], artifact_kind: Binary } -- 11.734
[TIMING:end] tool::Tidy { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.000
fmt check
Diff in /checkout/compiler/rustc_type_ir/src/predicate.rs:644:
                 interner,
                 ty::AliasTyKind::Unresolved,
                 ty::AliasTy { def_id: self.def_id, args: self.args, _use_alias_ty_new_instead: () },
-            ).into(),
+            )
+            .into(),
             AliasTermKind::InherentTy => Ty::new_alias(
                 interner,
                 ty::AliasTyKind::Inherent,
fmt: checked 6337 files
Diff in /checkout/compiler/rustc_middle/src/ty/print/pretty.rs:800:
                 }
             }
             ty::Foreign(def_id) => self.print_def_path(def_id, &[])?,
-            ty::Alias(ty::Unresolved | ty::Projection | ty::Inherent | ty::Free, ref data) => data.print(self)?,
+            ty::Alias(ty::Unresolved | ty::Projection | ty::Inherent | ty::Free, ref data) => {
+                data.print(self)?
+            }
             ty::Placeholder(placeholder) => placeholder.print(self)?,
             ty::Alias(ty::Opaque, ty::AliasTy { def_id, args, .. }) => {
                 // We use verbose printing in 'NO_QUERIES' mode, to
Bootstrap failed while executing `test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp,js,spellcheck`
Build completed unsuccessfully in 0:00:48
  local time: Mon Aug 25 19:52:00 UTC 2025
  network time: Mon, 25 Aug 2025 19:52:00 GMT
##[error]Process completed with exit code 1.

@bors
Copy link
Collaborator

bors commented Sep 2, 2025

☔ The latest upstream changes (presumably #146125) made this pull request unmergeable. Please resolve the merge conflicts.

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Mar 13, 2026

going to close this. I think this will want some refactorings which @WaffleLapkin is working on to finish first

@BoxyUwU BoxyUwU closed this Mar 13, 2026
@github-project-automation github-project-automation bot moved this from In Progress to Done in Inherent Associated Types (IAT) Mar 13, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Mar 13, 2026
@fmease fmease moved this from Done to Abandoned in Inherent Associated Types (IAT) Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Development

Successfully merging this pull request may close these issues.

4 participants