rust/crates
bors[bot] 8cfc1cd95b
Merge #6376
6376: Avoid impls_fnonce to return true when the trait solving is ambiguous  r=flodiebold a=GrayJack

This PR should fix #6375 

This adds a variation of `method_resolution::implements_trait` called `method_resolution::implements_trait_unique`, that only returns true when the trait solving is unique, and also change `impls_fnonce` to use the later instead.

I also added a test just to be sure.

Co-authored-by: GrayJack <gr41.j4ck@gmail.com>
2020-10-27 09:51:49 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Merge #6257 2020-10-26 21:40:56 +00:00
base_db More type safety around names 2020-10-20 17:09:03 +02:00
cfg cfg: move tests to separate file 2020-10-23 12:14:58 +02:00
completion Reduce visibility of some methods 2020-10-26 20:37:19 +03:00
flycheck Update crates 2020-10-20 17:36:02 -04:00
hir Fix case where non FnOnce variables is marked callable 2020-10-26 15:20:33 -03:00
hir_def Handle #![cfg] in crate root 2020-10-26 16:04:08 +01:00
hir_expand Fix typo in comment 2020-10-21 21:51:53 +02:00
hir_ty Fix case where non FnOnce variables is marked callable 2020-10-26 15:20:33 -03:00
ide Fix test 2020-10-26 17:23:29 -03:00
ide_db Merge #6331 #6342 2020-10-24 19:08:12 +00:00
mbe Cleanup 2020-10-07 11:55:20 +02:00
parser Don't interpret type path as part of visibility. 2020-10-24 02:20:45 -04:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Bump crossbeam-channel in crates 2020-10-13 16:57:01 +03:00
proc_macro_srv Update crates 2020-10-20 17:36:02 -04:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Bump rustc_lexer, cfg-if to 1.0 and add new license to check 2020-10-08 10:39:02 -04:00
project_model Update crates 2020-10-20 17:36:02 -04:00
rust-analyzer Update tests 2020-10-26 09:57:46 -04:00
ssr Re-export base_db from ide_db 2020-10-24 11:39:57 +03:00
stdx Fix panic context 2020-10-23 15:18:33 +02:00
syntax Merge #6333 2020-10-26 14:34:00 +00:00
test_utils Fix indentation of inserted use statements 2020-10-24 18:25:23 +02:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Rename the method to avoid false promises 2020-09-10 01:45:49 +03:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00