summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNell Shamrell <nellshamrell@gmail.com>2021-01-18 16:42:05 -0800
committerNell Shamrell <nellshamrell@gmail.com>2021-01-18 16:42:05 -0800
commit5f7d9dd75b80189329a759145cd360ac19696d61 (patch)
tree5848ca83f9f8599d6f37b890090e155d4bb332ff
parent68d9cc73fe314c32545c5e2691015dbe1790960b (diff)
downloadrust-nellshamrell/fix-80658.tar.gz
slight clarification to error messagenellshamrell/fix-80658
Signed-off-by: Nell Shamrell <nellshamrell@gmail.com>
-rw-r--r--compiler/rustc_infer/src/infer/error_reporting/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs
index 1d35bdf0b93..fa3ee97293f 100644
--- a/compiler/rustc_infer/src/infer/error_reporting/mod.rs
+++ b/compiler/rustc_infer/src/infer/error_reporting/mod.rs
@@ -1490,7 +1490,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
format!(
"{}{}{} {}{}",
if sp.is_desugaring(DesugaringKind::Async) {
- "checked the output of this `async fn`, "
+ "checked the return type of this `async fn`, "
} else if count == 1 {
"the "
} else {