summaryrefslogtreecommitdiffstats
path: root/tests/ui/coercion/coercion-missing-tail-expected-type.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coercion/coercion-missing-tail-expected-type.stderr')
-rw-r--r--tests/ui/coercion/coercion-missing-tail-expected-type.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/coercion/coercion-missing-tail-expected-type.stderr b/tests/ui/coercion/coercion-missing-tail-expected-type.stderr
index 4c04bb113..288e945f1 100644
--- a/tests/ui/coercion/coercion-missing-tail-expected-type.stderr
+++ b/tests/ui/coercion/coercion-missing-tail-expected-type.stderr
@@ -12,7 +12,7 @@ error[E0308]: mismatched types
--> $DIR/coercion-missing-tail-expected-type.rs:8:13
|
LL | fn foo() -> Result<u8, u64> {
- | --- ^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
+ | --- ^^^^^^^^^^^^^^^ expected `Result<u8, u64>`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
LL | Ok(1);