Skip to content
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

possible out of date documentation for -Zdump-solver-proof-tree #2050

Closed
GTimothy opened this issue Aug 28, 2024 · 0 comments · Fixed by #2054
Closed

possible out of date documentation for -Zdump-solver-proof-tree #2050

GTimothy opened this issue Aug 28, 2024 · 0 comments · Fixed by #2054

Comments

@GTimothy
Copy link

The documentation for proof trees seems out of date.
In rustc-dev-guide/src/solve/proof-trees.md, line 19 there is a mention

For debugging you can use -Zdump-solver-proof-tree which dumps the proof tree
for all goals proven by the trait solver in the current session.

This documentation was added by @lcnr on Jun 23, 2023, 4 days after the corresponding merge commit in rust-lang/rust.

But it seems this code was then modified/renamed/deleted by @lcnr on December 14, 2023, see this commit.

I am unsure what replacement flag (if there is any) should be documented. But -Zdump-solver-proof-tree is not a working flag anymore.

At least not on nightly-x86_64-unknown-linux-gnu - rustc 1.82.0-nightly (515395af0 2024-08-26):

error: unknown unstable option: dump-solver-proof-tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant