about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librustc/ty/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/ty/error.rs b/src/librustc/ty/error.rs
index 6daecd7ae94..c1593799286 100644
--- a/src/librustc/ty/error.rs
+++ b/src/librustc/ty/error.rs
@@ -268,6 +268,7 @@ impl<'tcx> TyCtxt<'tcx> {
                     let e_str = values.expected.to_string();
                     let f_str = values.found.to_string();
                     if &e_str == &f_str && &e_str == "impl std::future::Future" {
+                        // FIXME: use non-string based check.
                         db.help("if both futures resolve to the same type, consider `await`ing \
                                  on both of them");
                     }