bors[bot] 89c7c55995
Merge #5270
5270: Add argument count mismatch diagnostic r=matklad a=jonas-schievink

Closes https://github.com/rust-analyzer/rust-analyzer/issues/4025.

This currently has one false positive on this line, where `max` is resolved to `Iterator::max` instead of `Ord::max`:

8aa10c00a4/crates/expect/src/lib.rs (L263)

(I have no idea why it thinks that `usize` is an `Iterator`)

TODO:
* [x] Tests
* [x] Improve diagnostic text for method calls

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2020-07-09 15:34:43 +00:00
..
2020-07-09 16:04:29 +02:00
2020-07-08 19:32:36 +02:00
2020-07-09 17:33:49 +02:00
2020-07-09 15:34:43 +00:00
2020-07-08 19:32:36 +02:00
2020-07-08 09:45:29 -04:00
2020-07-08 09:45:29 -04:00
2020-07-09 11:47:27 +02:00
2020-07-09 16:12:53 +02:00
2020-07-06 17:13:55 -04:00
2020-07-07 23:28:48 +02:00
2020-07-08 22:47:50 +02:00