summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/return-type-notation/issue-110963-early.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/return-type-notation/issue-110963-early.stderr')
-rw-r--r--tests/ui/async-await/return-type-notation/issue-110963-early.stderr9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/ui/async-await/return-type-notation/issue-110963-early.stderr b/tests/ui/async-await/return-type-notation/issue-110963-early.stderr
index 969094a2c..feae2698e 100644
--- a/tests/ui/async-await/return-type-notation/issue-110963-early.stderr
+++ b/tests/ui/async-await/return-type-notation/issue-110963-early.stderr
@@ -8,7 +8,7 @@ LL | #![feature(return_type_notation)]
= note: `#[warn(incomplete_features)]` on by default
error[E0308]: mismatched types
- --> $DIR/issue-110963-early.rs:15:5
+ --> $DIR/issue-110963-early.rs:14:5
|
LL | / spawn(async move {
LL | | let mut hc = hc;
@@ -21,13 +21,13 @@ LL | | });
= note: expected trait `Send`
found trait `for<'a> Send`
note: the lifetime requirement is introduced here
- --> $DIR/issue-110963-early.rs:35:17
+ --> $DIR/issue-110963-early.rs:34:17
|
LL | F: Future + Send + 'static,
| ^^^^
error[E0308]: mismatched types
- --> $DIR/issue-110963-early.rs:15:5
+ --> $DIR/issue-110963-early.rs:14:5
|
LL | / spawn(async move {
LL | | let mut hc = hc;
@@ -40,10 +40,11 @@ LL | | });
= note: expected trait `Send`
found trait `for<'a> Send`
note: the lifetime requirement is introduced here
- --> $DIR/issue-110963-early.rs:35:17
+ --> $DIR/issue-110963-early.rs:34:17
|
LL | F: Future + Send + 'static,
| ^^^^
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 2 previous errors; 1 warning emitted