about summary refs log tree commit diff
path: root/tests/ui/methods
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2025-02-05 09:28:35 -0500
committerJason Newcomb <jsnewcomb@pm.me>2025-02-05 10:36:32 -0500
commit4718cb40ecd5e68ae7c5d056d48c60b5e9c1d1ef (patch)
tree08259abf2023a82cc024df802c68df54fb276426 /tests/ui/methods
parent820bfffc25fee9866aa8176529091e04b8824f09 (diff)
downloadrust-4718cb40ecd5e68ae7c5d056d48c60b5e9c1d1ef.tar.gz
rust-4718cb40ecd5e68ae7c5d056d48c60b5e9c1d1ef.zip
When displaying a parameter mismatch error, only highlight the mismatched parameters when showing the definition.
Diffstat (limited to 'tests/ui/methods')
-rw-r--r--tests/ui/methods/method-call-err-msg.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/methods/method-call-err-msg.stderr b/tests/ui/methods/method-call-err-msg.stderr
index 84005119a87..c17c4a23a3a 100644
--- a/tests/ui/methods/method-call-err-msg.stderr
+++ b/tests/ui/methods/method-call-err-msg.stderr
@@ -41,7 +41,7 @@ note: method defined here
   --> $DIR/method-call-err-msg.rs:7:8
    |
 LL |     fn two(self, _: isize, _: isize) -> Foo { self }
-   |        ^^^       --------  --------
+   |        ^^^                 --------
 help: provide the argument
    |
 LL |      .two(0, /* isize */);