diff options
| author | Michael Goulet <michael@errs.io> | 2022-12-17 20:59:23 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-12-17 20:59:25 +0000 |
| commit | f034cb431d88a89984eb75bdea120e34fabfc798 (patch) | |
| tree | 74156527ae72555c50752aeb59108aebe2055b78 /src/test/ui/error-codes | |
| parent | 984eab57f708e62c09b3d708033fe620130b5f39 (diff) | |
| download | rust-f034cb431d88a89984eb75bdea120e34fabfc798.tar.gz rust-f034cb431d88a89984eb75bdea120e34fabfc798.zip | |
print argument name in arg mismatch if possible
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0057.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0057.stderr b/src/test/ui/error-codes/E0057.stderr index bea226f09dc..163737895fe 100644 --- a/src/test/ui/error-codes/E0057.stderr +++ b/src/test/ui/error-codes/E0057.stderr @@ -11,8 +11,8 @@ LL | let f = |x| x * 3; | ^^^ help: provide the argument | -LL | let a = f(/* value */); - | ~~~~~~~~~~~~~ +LL | let a = f(/* x */); + | ~~~~~~~~~ error[E0057]: this function takes 1 argument but 2 arguments were supplied --> $DIR/E0057.rs:5:13 |
