about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/solve/assembly/mod.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-25 03:50:23 +0000
committerMichael Goulet <michael@errs.io>2024-02-06 02:22:58 +0000
commit881b6b5149e882434a8df80a829bcfde0a2e9d37 (patch)
treea929ae3c67bf3df264beb0407bccd2e28b2f1a64 /compiler/rustc_trait_selection/src/solve/assembly/mod.rs
parent427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec (diff)
downloadrust-881b6b5149e882434a8df80a829bcfde0a2e9d37.tar.gz
rust-881b6b5149e882434a8df80a829bcfde0a2e9d37.zip
Bless tests, add comments
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/assembly/mod.rs')
-rw-r--r--compiler/rustc_trait_selection/src/solve/assembly/mod.rs4
1 files changed, 3 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 8451fbcc434..7052fd776b0 100644
--- a/compiler/rustc_trait_selection/src/solve/assembly/mod.rs
+++ b/compiler/rustc_trait_selection/src/solve/assembly/mod.rs
@@ -190,7 +190,9 @@ pub(super) trait GoalKind<'tcx>:
         kind: ty::ClosureKind,
     ) -> QueryResult<'tcx>;
 
-    /// TODO:
+    /// Compute the built-in logic of the `AsyncFnKindHelper` helper trait, which
+    /// is used internally to delay computation for async closures until after
+    /// upvar analysis is performed in HIR typeck.
     fn consider_builtin_async_fn_kind_helper_candidate(
         ecx: &mut EvalCtxt<'_, 'tcx>,
         goal: Goal<'tcx, Self>,