diff options
| author | Jason Newcomb <jsnewcomb@pm.me> | 2025-02-05 09:28:35 -0500 |
|---|---|---|
| committer | Jason Newcomb <jsnewcomb@pm.me> | 2025-02-05 10:36:32 -0500 |
| commit | 4718cb40ecd5e68ae7c5d056d48c60b5e9c1d1ef (patch) | |
| tree | 08259abf2023a82cc024df802c68df54fb276426 /tests/ui/methods | |
| parent | 820bfffc25fee9866aa8176529091e04b8824f09 (diff) | |
| download | rust-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.stderr | 2 |
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 */); |
