diff options
author | Nell Shamrell <nellshamrell@gmail.com> | 2021-01-18 16:42:05 -0800 |
---|---|---|
committer | Nell Shamrell <nellshamrell@gmail.com> | 2021-01-18 16:42:05 -0800 |
commit | 5f7d9dd75b80189329a759145cd360ac19696d61 (patch) | |
tree | 5848ca83f9f8599d6f37b890090e155d4bb332ff | |
parent | 68d9cc73fe314c32545c5e2691015dbe1790960b (diff) | |
download | rust-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.rs | 2 |
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 { |