rust/crates
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
..
expect Move diagnostics tests to expect 2020-07-09 16:04:29 +02:00
flycheck Cleanup diagnostic conversion code 2020-07-09 15:34:37 +02:00
paths
ra_arena
ra_assists Refactor AssistBuilder to manage a SourceChange 2020-07-07 12:10:18 +02:00
ra_cfg Add optional target to crates in json project, lookup default cfgs per target when generating cfg list 2020-07-04 13:49:44 -04:00
ra_db Remove relative_path dependency 2020-07-08 19:32:36 +02:00
ra_fmt
ra_hir Add argument count mismatch diagnostic 2020-07-09 12:16:29 +02:00
ra_hir_def Re-enable IDE features for incomplete impl blocs 2020-07-09 12:14:26 +02:00
ra_hir_expand Switch to fully dynamically dispatched salsa 2020-07-07 10:14:48 +02:00
ra_hir_ty Address review comments 2020-07-09 17:33:49 +02:00
ra_ide Merge #5270 2020-07-09 15:34:43 +00:00
ra_ide_db Remove relative_path dependency 2020-07-08 19:32:36 +02:00
ra_mbe Clippy perf warnings 2020-07-08 09:45:29 -04:00
ra_parser Simlify with matches!() 2020-06-28 04:03:59 +03:00
ra_proc_macro
ra_proc_macro_srv Clippy perf warnings 2020-07-08 09:45:29 -04:00
ra_prof
ra_project_model Replace ad hocery with science 2020-07-07 23:28:48 +02:00
ra_ssr SSR: Update tests so that all paths in patterns can be resolved 2020-07-04 08:56:58 +10:00
ra_syntax Simplify 2020-07-09 11:47:27 +02:00
ra_text_edit
ra_toolchain Better exe probing 2020-06-27 02:04:33 +02:00
ra_tt Simlify with matches!() 2020-06-28 04:03:59 +03:00
rust-analyzer Always put config first 2020-07-09 16:12:53 +02:00
stdx
test_utils Clippy perf warnings 2020-07-06 17:13:55 -04:00
vfs Replace ad hocery with science 2020-07-07 23:28:48 +02:00
vfs-notify better language 2020-07-08 22:47:50 +02:00