about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-01-18 08:08:58 +0100
committerlcnr <rust@lcnr.de>2023-01-18 08:11:15 +0100
commit369f9aa0990bd90b5f193ce149e74170f276c0e4 (patch)
tree67c4b91a65caaa0e80bf61afb398449adc2a8897 /compiler
parent415aa663a2cafd07d934dd683db6ab88e65f6c30 (diff)
downloadrust-369f9aa0990bd90b5f193ce149e74170f276c0e4.tar.gz
rust-369f9aa0990bd90b5f193ce149e74170f276c0e4.zip
add comment
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_trait_selection/src/solve/project_goals.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/project_goals.rs b/compiler/rustc_trait_selection/src/solve/project_goals.rs
index 435f2877fb3..0658836fb9c 100644
--- a/compiler/rustc_trait_selection/src/solve/project_goals.rs
+++ b/compiler/rustc_trait_selection/src/solve/project_goals.rs
@@ -82,6 +82,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
             }
         };
 
+        // Guard against `<T as Trait<?0>>::Assoc = ?0>`.
         struct ContainsTerm<'tcx> {
             term: ty::Term<'tcx>,
         }