diff options
Diffstat (limited to 'tests/ui/lint/must_not_suspend/tuple-mismatch.stderr')
-rw-r--r-- | tests/ui/lint/must_not_suspend/tuple-mismatch.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/lint/must_not_suspend/tuple-mismatch.stderr b/tests/ui/lint/must_not_suspend/tuple-mismatch.stderr new file mode 100644 index 000000000..cca8cd9bd --- /dev/null +++ b/tests/ui/lint/must_not_suspend/tuple-mismatch.stderr @@ -0,0 +1,12 @@ +error[E0308]: mismatched types + --> $DIR/tuple-mismatch.rs:6:20 + | +LL | yield ((), ()); + | ^^ expected tuple, found `()` + | + = note: expected tuple `((), ())` + found unit type `()` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0308`. |