diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-08-21 15:35:38 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-08-21 16:49:26 -0700 |
| commit | a710c610b2ea1550014e9f6bd20e5e4aed8a716c (patch) | |
| tree | 2fd7e838d08a97536d43a792d2add4592d39effe /src/librustc | |
| parent | ba8e09415b00fdfcda8feeb1cf233f2f065ef6c6 (diff) | |
| download | rust-a710c610b2ea1550014e9f6bd20e5e4aed8a716c.tar.gz rust-a710c610b2ea1550014e9f6bd20e5e4aed8a716c.zip | |
review comments: reword and add test
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/ty/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ty/error.rs b/src/librustc/ty/error.rs index c1593799286..c70006b68d6 100644 --- a/src/librustc/ty/error.rs +++ b/src/librustc/ty/error.rs @@ -269,8 +269,8 @@ impl<'tcx> TyCtxt<'tcx> { 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"); + db.help("if both `Future`s have the same `Output` type, consider \ + `.await`ing on both of them"); } } if let (ty::Infer(ty::IntVar(_)), ty::Float(_)) = |
