about summary refs log tree commit diff
path: root/src/test/ui/methods
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-05-29 21:45:51 -0700
committerMichael Goulet <michael@errs.io>2022-06-27 21:53:03 -0700
commitf2277e03eeb112730e3f07fab0d6b91d195fe55c (patch)
treeb851f8b5553b58bdbb8857c94665b615a6c143c3 /src/test/ui/methods
parent7f08d04d60d03e1a52dae61ce6aa50996898702b (diff)
downloadrust-f2277e03eeb112730e3f07fab0d6b91d195fe55c.tar.gz
rust-f2277e03eeb112730e3f07fab0d6b91d195fe55c.zip
Use typed indices in argument mismatch algorithm
Diffstat (limited to 'src/test/ui/methods')
-rw-r--r--src/test/ui/methods/method-call-err-msg.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-call-err-msg.stderr b/src/test/ui/methods/method-call-err-msg.stderr
index 77308a2c521..57662e1e265 100644
--- a/src/test/ui/methods/method-call-err-msg.stderr
+++ b/src/test/ui/methods/method-call-err-msg.stderr
@@ -2,7 +2,7 @@ error[E0061]: this function takes 0 arguments but 1 argument was supplied
   --> $DIR/method-call-err-msg.rs:13:7
    |
 LL |     x.zero(0)
-   |       ^^^^ - argument unexpected
+   |       ^^^^ - argument of type `{integer}` unexpected
    |
 note: associated function defined here
   --> $DIR/method-call-err-msg.rs:5:8