From 13aa90042fca87b4209e81fbd6b7d4d03285b4a4 Mon Sep 17 00:00:00 2001 From: lcnr Date: Tue, 9 Jan 2024 13:10:37 +0100 Subject: [PATCH] this is not a rust code snippet --- compiler/rustc_trait_selection/src/solve/search_graph.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/compiler/rustc_trait_selection/src/solve/search_graph.rs b/compiler/rustc_trait_selection/src/solve/search_graph.rs index c33b302c33a..bede94a2e43 100644 --- a/compiler/rustc_trait_selection/src/solve/search_graph.rs +++ b/compiler/rustc_trait_selection/src/solve/search_graph.rs @@ -61,10 +61,11 @@ struct DetachedEntry<'tcx> { /// /// Given the following rules, when proving `A` the head for /// the provisional entry of `C` would be `B`. - /// - /// A :- B - /// B :- C - /// C :- A + B + C + /// ```plain + /// A :- B + /// B :- C + /// C :- A + B + C + /// ``` head: StackDepth, result: QueryResult<'tcx>, }