The documentation for proof trees seems out of date. [In rustc-dev-guide/src/solve/proof-trees.md, line 19](https://github.com/rust-lang/rustc-dev-guide/blob/fa928a6d19e1666d8d811dfe3fd35cdad3b4e459/src/solve/proof-trees.md?plain=1#L19) 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](https://github.com/rust-lang/rust/commit/18a6d911caba59605eb03db1452848a85d2e5879). But it seems this code was then modified/renamed/deleted by @lcnr on December 14, 2023, [see this commit](https://github.com/rust-lang/rust/commit/5d97ada1eca831936257598bd60f1857091ec4b7#diff-61809551ad02f51b66e0436e5d08c0bc94adfa100e11eab2a8d4d8a828978e03L1594). 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`