about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-06-12 12:47:09 +0200
committerlcnr <rust@lcnr.de>2023-06-12 12:47:09 +0200
commite74d1cd581411a8d307ad9ee286f6f8fc785e002 (patch)
tree35ff6d4b2b9e1f77136aa648612316bd19d61e02
parentf45502d20d771503281e5d1159be6e60a0b9d188 (diff)
downloadrust-e74d1cd581411a8d307ad9ee286f6f8fc785e002.tar.gz
rust-e74d1cd581411a8d307ad9ee286f6f8fc785e002.zip
update comment
-rw-r--r--compiler/rustc_trait_selection/src/solve/assembly/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/assembly/mod.rs b/compiler/rustc_trait_selection/src/solve/assembly/mod.rs
index f32ff0442a4..1b749b9c854 100644
--- a/compiler/rustc_trait_selection/src/solve/assembly/mod.rs
+++ b/compiler/rustc_trait_selection/src/solve/assembly/mod.rs
@@ -320,7 +320,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
         candidates
     }
 
-    /// If the self type of a goal is a projection, computing the relevant candidates is difficult.
+    /// If the self type of a goal is an alias, computing the relevant candidates is difficult.
     ///
     /// To deal with this, we first try to normalize the self type and add the candidates for the normalized
     /// self type to the list of candidates in case that succeeds. We also have to consider candidates with the