rust-analyzer/crates/ra_ide
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
..
src Merge #5270 2020-07-09 15:34:43 +00:00
test_data Move test data to test_data directory 2020-07-01 11:26:09 +02:00
Cargo.toml Remove insta from ra_ide 2020-07-09 14:33:57 +02:00