rust-analyzer/crates
bors[bot] 35868c4f7d
Merge #8133
8133: Ignore type bindings in generic_predicates_for_param (fix panic on ena and crates depending on it) r=flodiebold a=flodiebold

This allows us to handle more cases without a query cycle, which includes certain cases that rustc accepted. That in turn means we avoid triggering salsa-rs/salsa#257 on valid code (it will still happen if the user writes an actual cycle).

We actually accept more definitions than rustc now; that's because rustc only ignores bindings when looking up super traits, whereas we now also ignore them when looking for predicates to disambiguate associated type shorthand. We could introduce a separate query for super traits if necessary, but for now I think this should be fine.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2021-03-21 16:42:08 +00:00
..
base_db a lot of clippy::style fixes 2021-03-21 16:15:41 +01:00
cfg a lot of clippy::style fixes 2021-03-21 16:15:41 +01:00
flycheck Bump cargo_metadata 2021-03-02 14:27:29 +02:00
hir Merge #8133 2021-03-21 16:42:08 +00:00
hir_def Merge #8135 2021-03-21 15:49:31 +00:00
hir_expand use strip_prefix() instead of starts_with and slicing (clippy::manual_strip) 2021-03-21 12:38:21 +01:00
hir_ty Merge #8133 2021-03-21 16:42:08 +00:00
ide clippy::complexity simplifications related to Iterators 2021-03-21 13:13:34 +01:00
ide_assists clippy::complexity simplifications related to Iterators 2021-03-21 13:13:34 +01:00
ide_completion Merge #8132 2021-03-21 15:57:14 +00:00
ide_db Fix the profile string 2021-03-21 11:45:37 +02:00
ide_ssr clippy::complexity simplifications related to Iterators 2021-03-21 13:13:34 +01:00
mbe a lot of clippy::style fixes 2021-03-21 16:15:41 +01:00
parser Parse extended_key_value_attributes 2021-03-19 02:13:46 +01:00
paths Document paths items 2021-01-22 15:38:33 +01:00
proc_macro_api remove uselessly wrapped ?s. (clippy::meedless_question_mark 2021-03-17 02:19:40 +01:00
proc_macro_srv Make bare underscore token an Ident rather than Punct in proc-macro 2021-03-20 12:28:44 -06:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile add more counts 2021-01-27 12:39:19 +03:00
project_model clippy::complexity simplifications related to Iterators 2021-03-21 13:13:34 +01:00
rust-analyzer Merge #8132 2021-03-21 15:57:14 +00:00
stdx Cleanup decl_check 2021-02-05 16:09:45 +01:00
syntax a lot of clippy::style fixes 2021-03-21 16:15:41 +01:00
test_utils Add new_source_root meta to test fixtures 2021-03-16 15:28:02 +01:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt a lot of clippy::style fixes 2021-03-21 16:15:41 +01:00
vfs Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00