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
..
2020-10-26 21:40:56 +00:00
2020-10-23 12:14:58 +02:00
2020-10-26 16:04:08 +01:00
2020-10-21 21:51:53 +02:00
2020-10-26 17:23:29 -03:00
2020-10-24 19:08:12 +00:00
2020-10-26 09:57:46 -04:00
2020-10-24 11:39:57 +03:00
2020-10-23 15:18:33 +02:00
2020-10-26 14:34:00 +00:00