Skip to content

Tracking Issue for -Znext-solver #107374

Open

Description

@lcnr

This is a tracking issue for the next-generation trait solver in rustc. It can be enabled on nightly by using the -Znext-solver flag. This work is lead by the @rust-lang/initiative-trait-system-refactor.

About tracking issues

Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Links

Original Types Team MCP: rust-lang/types-team#58
Types Team Tracking Issue: rust-lang/types-team#76
Types Team announcement and Roadmap: https://blog.rust-lang.org/2023/01/20/types-announcement.html
EOY 2023 Update Blog Post: https://blog.rust-lang.org/inside-rust/2023/12/22/trait-system-refactor-initiative.html
2024 Types Team Update Blog Post: https://blog.rust-lang.org/2024/06/26/types-team-update.html
EOY 2024 Update Blog Post: https://blog.rust-lang.org/inside-rust/2024/12/04/trait-system-refactor-initiative.html
-Znext-solver=globally project board: -Znext-solver=globally

Milestones and future work

For a complete list of changes, see the list of merged PRs. We also track the decisions we've made - and decisions we still have to make - in https://github.com/rust-lang/trait-system-refactor-initiative/issues. We mostly discuss these issues on zulip and in Types Team meetings.

Major milestones

Activity

  1. added
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    T-typesRelevant to the types team, which will review and decide on the PR/issue.
    WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)
    on Jan 27, 2023
  2. alex commented on Jul 13, 2023

    @alex
    Member

    Is it useful to file bugs with crates that don't compile under -Ztrait-solver=next? (Specifically with an error of not implemented: overflowed on pending obligations)

  3. lcnr commented on Jul 13, 2023

    @lcnr
    ContributorAuthor

    not yet as there are still a lot of failing crates with the new solver. will probably make an announcement blog post asking for testing once we're able to successfully compile our own tests and did the first crater run.

  4. changed the title [-]Tracking Issue for `-Ztrait-solver=next`[/-] [+]Tracking Issue for `-Znext-solver`[/+] on Dec 18, 2023
  5. ItsRedly commented on Mar 30, 2025

    @ItsRedly
  6. lcnr commented on Mar 31, 2025

    @lcnr
    Author
  7. umbrageodotus commented on Oct 11, 2025

    @umbrageodotus
  8. slanterns commented on Oct 11, 2025

    @slanterns
  9. umbrageodotus commented on Oct 11, 2025

    @umbrageodotus
  10. zesterer commented on Dec 11, 2025

    @zesterer
    Contributor

    Is this feature at the point where reporting major performance regressions is useful, or should I hold fire for now?

  11. lcnr commented on Dec 11, 2025

    @lcnr
    ContributorAuthor

    Yeah, we're still aware of a few major performance regressions ourselves, but do open a new issue for yours please.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-trait-systemArea: Trait systemC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-typesRelevant to the types team, which will review and decide on the PR/issue.WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions