diff options
| author | bors <bors@rust-lang.org> | 2019-12-31 09:50:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-31 09:50:49 +0000 |
| commit | 71bb0ff33e3759ee71ea19c230492c11e5e32b87 (patch) | |
| tree | 61f623415ecedc01861b1d9599ad8dad350c0efe /src/test/ui/error-codes | |
| parent | bf2d145c62888c853db0bcfd8f5b3a6919f15502 (diff) | |
| parent | 261b606ddc12cfb027659562f3e22fbf77bfe448 (diff) | |
| download | rust-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.stderr | 2 |
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 |
