about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-12-31 09:50:49 +0000
committerbors <bors@rust-lang.org>2019-12-31 09:50:49 +0000
commit71bb0ff33e3759ee71ea19c230492c11e5e32b87 (patch)
tree61f623415ecedc01861b1d9599ad8dad350c0efe /src/test/ui/error-codes
parentbf2d145c62888c853db0bcfd8f5b3a6919f15502 (diff)
parent261b606ddc12cfb027659562f3e22fbf77bfe448 (diff)
downloadrust-71bb0ff33e3759ee71ea19c230492c11e5e32b87.tar.gz
rust-71bb0ff33e3759ee71ea19c230492c11e5e32b87.zip
Auto merge of #67597 - estebank:placeholder-type, r=oli-obk
Suggest type param when encountering `_` in item signatures

Fix #27435.
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0121.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0121.stderr b/src/test/ui/error-codes/E0121.stderr
index beb8941320b..5a5c6b40c5a 100644
--- a/src/test/ui/error-codes/E0121.stderr
+++ b/src/test/ui/error-codes/E0121.stderr
@@ -5,7 +5,7 @@ LL | fn foo() -> _ { 5 }
    |             ^
    |             |
    |             not allowed in type signatures
-   |             help: replace `_` with the correct return type: `i32`
+   |             help: replace with the correct return type: `i32`
 
 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
   --> $DIR/E0121.rs:3:13